WSL word wrapping issue in small windows #10995

Open
opened 2026-01-31 02:35:47 +00:00 by claunia · 0 comments
Owner

Originally created by @tomyummmm on GitHub (Oct 13, 2020).

Environment

Windows build number: Microsoft Windows [Version 10.0.19041.508]
Windows Terminal version (if applicable): 1.3.2651.0

Any other software? WSL Ubuntu-18.04

Steps to reproduce

  1. Open WSL and cd to a folder with a long path
  2. Resize window / split pane with duplicate until current path has word wrap on 3rd line.
  3. Do anything / enter / clear and see that word wrapping has glitched, causing multiple prints of the prompt.

Expected behavior

Only show 1 print of the prompt like CMD and Powershell

image

Actual behavior

Word wrapping past 2 lines in WSL causes the prompt to print and overlap twice. Should behave like CMD and PS

image
CMD on the left, PS in the middle, WSL on the right.

image
Word wrap 2 lines vs 3 lines

image
After typing and deleting command due to typo, the previous text remains on screen (cp_). Command still runs fine.

Originally created by @tomyummmm on GitHub (Oct 13, 2020). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> <!-- This bug tracker is monitored by Windows Terminal development team and other technical folks. **Important: When reporting BSODs or security issues, DO NOT attach memory dumps, logs, or traces to Github issues**. Instead, send dumps/traces to secure@microsoft.com, referencing this GitHub issue. If this is an application crash, please also provide a Feedback Hub submission link so we can find your diagnostic data on the backend. Use the category "Apps > Windows Terminal (Preview)" and choose "Share My Feedback" after submission to get the link. Please use this form and describe your issue, concisely but precisely, with as much detail as possible. --> # Environment ```none Windows build number: Microsoft Windows [Version 10.0.19041.508] Windows Terminal version (if applicable): 1.3.2651.0 Any other software? WSL Ubuntu-18.04 ``` # Steps to reproduce <!-- A description of how to trigger this bug. --> 1. Open WSL and cd to a folder with a long path 2. Resize window / split pane with duplicate until current path has word wrap on 3rd line. 3. Do anything / enter / clear and see that word wrapping has glitched, causing multiple prints of the prompt. # Expected behavior Only show 1 print of the prompt like CMD and Powershell <!-- A description of what you're expecting, possibly containing screenshots or reference material. --> ![image](https://user-images.githubusercontent.com/65211592/95833766-ad4cfe80-0d6e-11eb-8d4c-1f2fe2931043.png) # Actual behavior Word wrapping past 2 lines in WSL causes the prompt to print and overlap twice. Should behave like CMD and PS <!-- What's actually happening? --> ![image](https://user-images.githubusercontent.com/65211592/95833707-99a19800-0d6e-11eb-9a45-d24c891c62d4.png) CMD on the left, PS in the middle, WSL on the right. ![image](https://user-images.githubusercontent.com/65211592/95833800-bb9b1a80-0d6e-11eb-94ea-17863edb5adb.png) Word wrap 2 lines vs 3 lines ![image](https://user-images.githubusercontent.com/65211592/95834981-3e70a500-0d70-11eb-89ed-a47dab0cffad.png) After typing and deleting command due to typo, the previous text remains on screen (cp_). Command still runs fine.
claunia added the Resolution-Duplicate label 2026-01-31 02:35:47 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#10995