Prompt issue after invoking "clearBuffer" #15664

Open
opened 2026-01-31 04:44:54 +00:00 by claunia · 0 comments
Owner

Originally created by @elsaco on GitHub (Oct 23, 2021).

Windows Terminal version (or Windows build number)

Windows Terminal Preview ver. 1.12.2931.0

Other Software

Windows 10 ver. 10.0.19043.0
git ver. 2.33.0.windows.2

Steps to reproduce

  1. add an unbound key cord to settings.json and enable clearBuffer (crtl+shift+k in this case)
        {
           "command":
           {
             "action": "clearBuffer",
             "clear": "all"
           },
           "keys": "ctrl+shift+k"
          
        }
  1. fill buffer then invoke clearBuffer

Expected Behavior

  1. buffer cleared (it works!)

Actual Behavior

  1. after clearing the buffer the prompt is at the top of tab, however next input is shown at the bottom of tab.
  2. not git related as it happens with other commands

Example:

https://user-images.githubusercontent.com/3933920/138570174-62dbf11b-3d1f-4a66-927e-d0a7f2e7c3cf.mp4

Originally created by @elsaco on GitHub (Oct 23, 2021). ### Windows Terminal version (or Windows build number) Windows Terminal Preview ver. 1.12.2931.0 ### Other Software Windows 10 ver. 10.0.19043.0 git ver. 2.33.0.windows.2 ### Steps to reproduce 1. add an unbound key cord to settings.json and enable clearBuffer (crtl+shift+k in this case) ``` { "command": { "action": "clearBuffer", "clear": "all" }, "keys": "ctrl+shift+k" } ``` 2. fill buffer then invoke clearBuffer ### Expected Behavior 1. buffer cleared (it works!) ### Actual Behavior 1. after clearing the buffer the prompt is at the top of tab, however next input is shown at the bottom of tab. 2. not git related as it happens with other commands Example: https://user-images.githubusercontent.com/3933920/138570174-62dbf11b-3d1f-4a66-927e-d0a7f2e7c3cf.mp4
claunia added the Resolution-ExternalNeeds-Tag-Fix labels 2026-01-31 04:44:54 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#15664