Clearing, maximizing, and restoring window clears tab's whole buffer #15653

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

Originally created by @sdegutis on GitHub (Oct 22, 2021).

Windows Terminal version (or Windows build number)

1.10.2714.0

Other Software

  1. Git Bash
  2. clear
  3. npm

Steps to reproduce

  1. Drag Terminal window with Git Bash tab to top of screen to maximize it
  2. Type clear && npm start in only Terminal tab
  3. Wait for about 100k lines to go by over 30 seconds
  4. Drag Terminal window down to unmaximize it
  5. Drag Terminal window back up to top to maximize it

Tada 🎉 now the whole tab is empty. Just a single prompt at the top of the window.

Expected Behavior

It shouldn't be empty.

Actual Behavior

But turns out it is.

Originally created by @sdegutis on GitHub (Oct 22, 2021). ### Windows Terminal version (or Windows build number) 1.10.2714.0 ### Other Software 1. Git Bash 2. `clear` 3. `npm` ### Steps to reproduce 1. Drag Terminal window with Git Bash tab to top of screen to maximize it 2. Type `clear && npm start` in only Terminal tab 3. Wait for about 100k lines to go by over 30 seconds 4. Drag Terminal window down to unmaximize it 5. Drag Terminal window back up to top to maximize it Tada 🎉 now the whole tab is empty. Just a single prompt at the top of the window. ### Expected Behavior It shouldn't be empty. ### Actual Behavior But turns out it is.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#15653