Random newline insterted with full screen applications #11049

Closed
opened 2026-01-31 02:37:10 +00:00 by claunia · 2 comments
Owner

Originally created by @Nosamdaman on GitHub (Oct 16, 2020).

Environment

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

Any other software?
Debian for WSL
Vim
Curl
Fish

Steps to reproduce

  1. Run some commands to produce enough output to require a scrollback
    image
  2. Open a fullscreen application. (vim or htop for example)
    image
  3. Close the application

Expected behavior

After closing the application, the output from previous commands should not be affected. This is properly handled in the default conhost terminal for Debian for WSL.

Actual behavior

image
A random newline is inserted into the console output where it shouldn't be.

Originally created by @Nosamdaman on GitHub (Oct 16, 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.572] Windows Terminal version (if applicable): 1.3.2651.0 Any other software? Debian for WSL Vim Curl Fish ``` # Steps to reproduce <!-- A description of how to trigger this bug. --> 1. Run some commands to produce enough output to require a scrollback ![image](https://user-images.githubusercontent.com/54364725/96257346-325f3000-0f88-11eb-92ce-035969360399.png) 2. Open a fullscreen application. (`vim` or `htop` for example) ![image](https://user-images.githubusercontent.com/54364725/96257253-0643af00-0f88-11eb-8625-b0478e481aa8.png) 3. Close the application # Expected behavior <!-- A description of what you're expecting, possibly containing screenshots or reference material. --> After closing the application, the output from previous commands should not be affected. This is properly handled in the default `conhost` terminal for Debian for WSL. # Actual behavior <!-- What's actually happening? --> ![image](https://user-images.githubusercontent.com/54364725/96257300-1e1b3300-0f88-11eb-88e5-64de939876fd.png) A random newline is inserted into the console output where it shouldn't be.
claunia added the Resolution-Duplicate label 2026-01-31 02:37:10 +00:00
Author
Owner

@DHowett commented on GitHub (Jul 2, 2021):

Sorry -- something about closing/reopening this must have mixed up our triage queue.

This is definitely something to do with how we manage the alternate buffer in the console session backing the terminal.

I think that this will be fixed when we resolve #381. Then, Terminal will know there's an alt buffer in use and it will not break its own scrollback.

/dup #381

@DHowett commented on GitHub (Jul 2, 2021): Sorry -- something about closing/reopening this must have mixed up our triage queue. This is definitely something to do with how we manage the alternate buffer in the console session backing the terminal. I think that this will be fixed when we resolve #381. Then, Terminal will know there's an alt buffer in use and it will not break its own scrollback. /dup #381
Author
Owner

@ghost commented on GitHub (Jul 2, 2021):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost commented on GitHub (Jul 2, 2021): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#11049