In Terminal+WSL, the last line at the bottom of the window is not printed + resizing after this prevents further input #1636

Open
opened 2026-01-30 22:32:39 +00:00 by claunia · 0 comments
Owner

Originally created by @zadjii-msft on GitHub (Jun 12, 2019).

From MSFT:21342906

If I'm running WSL (Ubuntu 16.04 or 18.04) in Cascadia and print something when my prompt is at the bottom of the window, the last line printed doesn't show. If I then resize the window smaller and try printing something again, the tab becomes unresponsive. This works fine directly in conhost.
Screenshot attached.

Repro steps:

  • Maximize a Cascadia window
  • Open a WSL tab
  • Hit return until the prompt is at the bottom of the window
  • Run echo -n "foo\\nbar"
  • See "foo" printed without the line for "bar" (see attached screenshot)
  • Resize the window smaller
  • Run the same echo again
  • The tab should now be unresponsive
Originally created by @zadjii-msft on GitHub (Jun 12, 2019). From MSFT:21342906 If I'm running WSL (Ubuntu 16.04 or 18.04) in Cascadia and print something when my prompt is at the bottom of the window, the last line printed doesn't show. If I then resize the window smaller and try printing something again, the tab becomes unresponsive. This works fine directly in conhost. Screenshot attached. Repro steps: - Maximize a Cascadia window - Open a WSL tab - Hit return until the prompt is at the bottom of the window - Run `echo -n "foo\\nbar"` - See "foo" printed without the line for "bar" (see attached screenshot) - Resize the window smaller - Run the same echo again - The tab should now be unresponsive
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#1636