Windows cannot scroll up or down in Screen mode #18131

Closed
opened 2026-01-31 06:04:30 +00:00 by claunia · 9 comments
Owner

Originally created by @hijkzzz on GitHub (Aug 9, 2022).

Windows Terminal version

1.14.1963.0

Windows build number

Win10 or Win11 x64

Other Software

No response

Steps to reproduce

Connect to any ubuntu 20.04 server or WSL2
screen -S test
Enter a lot of commands
You'll find that you can't scroll through commands that are off-screen

Expected Behavior

I can scroll up and down to view the history commands

Actual Behavior

I can't scroll up and down to view the history commands

Originally created by @hijkzzz on GitHub (Aug 9, 2022). ### Windows Terminal version 1.14.1963.0 ### Windows build number Win10 or Win11 x64 ### Other Software _No response_ ### Steps to reproduce Connect to any ubuntu 20.04 server or WSL2 screen -S test Enter a lot of commands You'll find that you can't scroll through commands that are off-screen ### Expected Behavior I can scroll up and down to view the history commands ### Actual Behavior I can't scroll up and down to view the history commands
claunia added the Issue-BugResolution-Duplicate labels 2026-01-31 06:04:30 +00:00
Author
Owner

@j4james commented on GitHub (Aug 9, 2022):

I'm afraid this is just the way screen works. See #13670.

@j4james commented on GitHub (Aug 9, 2022): I'm afraid this is just the way `screen` works. See #13670.
Author
Owner

@zadjii-msft commented on GitHub (Aug 9, 2022):

Yep.

/dup #13670

@zadjii-msft commented on GitHub (Aug 9, 2022): Yep. /dup #13670
Author
Owner

@ghost commented on GitHub (Aug 9, 2022):

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 (Aug 9, 2022): 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!
Author
Owner

@hijkzzz commented on GitHub (Aug 9, 2022):

However, both iTerm2 and VSCode support this feature well~

@hijkzzz commented on GitHub (Aug 9, 2022): However, both iTerm2 and VSCode support this feature well~
Author
Owner

@j4james commented on GitHub (Aug 9, 2022):

@hijkzzz Screen manages the scrollback history itself, since you can have multiple sessions, each with their own history, so it doesn't make much sense to use the terminal's scrollback. But if that's really what you want, you can configure that in your .screenrc as described here:

https://stackoverflow.com/a/1125947

@j4james commented on GitHub (Aug 9, 2022): @hijkzzz Screen manages the scrollback history itself, since you can have multiple sessions, each with their own history, so it doesn't make much sense to use the terminal's scrollback. But if that's really what you want, you can configure that in your .screenrc as described here: https://stackoverflow.com/a/1125947
Author
Owner

@hijkzzz commented on GitHub (Aug 13, 2022):

@hijkzzz Screen manages the scrollback history itself, since you can have multiple sessions, each with their own history, so it doesn't make much sense to use the terminal's scrollback. But if that's really what you want, you can configure that in your .screenrc as described here:

https://stackoverflow.com/a/1125947

Hi, this solution is not easy to use. How can I roll back WS Terminal to a version that supports screen rolling?

@hijkzzz commented on GitHub (Aug 13, 2022): > @hijkzzz Screen manages the scrollback history itself, since you can have multiple sessions, each with their own history, so it doesn't make much sense to use the terminal's scrollback. But if that's really what you want, you can configure that in your .screenrc as described here: > > https://stackoverflow.com/a/1125947 Hi, this solution is not easy to use. How can I roll back WS Terminal to a version that supports screen rolling?
Author
Owner

@kushwavez commented on GitHub (Oct 17, 2022):

Just a note on this:
This issue was affecting my work as I mostly work with screens. After I don't know what release update it suddenly didn't work, I started using Hyper as an alternative, but because it crashed 3 times now in critical times I decided to try and "fix" this issue with the Windows Terminal.

After I rolled back to v1.13.11432.0 the issue was not there, so something is changed around the new releases.
I'll stay on this ver until a fix is developed for this.

@kushwavez commented on GitHub (Oct 17, 2022): Just a note on this: This issue was affecting my work as I mostly work with screens. After I don't know what release update it suddenly didn't work, I started using Hyper as an alternative, but because it crashed 3 times now in critical times I decided to try and "fix" this issue with the Windows Terminal. After I rolled back to v1.13.11432.0 the issue was not there, so something is changed around the new releases. I'll stay on this ver until a fix is developed for this.
Author
Owner

@DHowett commented on GitHub (Oct 17, 2022):

Unfortunately, a fix will not be developed for this. There's a better description of what's up in https://github.com/microsoft/terminal/issues/13670, as well as James' comments here.

We are not intending on breaking alternate screen buffer support, as it is a critical underpinning of any application that wants control over the entire screen... such as screen.

@DHowett commented on GitHub (Oct 17, 2022): Unfortunately, a fix will not be developed for this. There's a better description of what's up in https://github.com/microsoft/terminal/issues/13670, as well as James' comments here. We are not intending on breaking alternate screen buffer support, as it is a critical underpinning of any application that wants control over the entire screen... such as `screen`.
Author
Owner

@urza commented on GitHub (Oct 6, 2023):

https://stackoverflow.com/a/1125947

This has worked for me. I did exactly what the SO answers suggestst and now I can scroll in screen sessions from Windows Trerminal.

@urza commented on GitHub (Oct 6, 2023): https://stackoverflow.com/a/1125947 This has worked for me. I did exactly what the SO answers suggestst and now I can scroll in screen sessions from Windows Trerminal.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#18131