Terminal can't access/go back to text that has scrolled off screen. #14825

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

Originally created by @Panzerbjrn on GitHub (Aug 9, 2021).

Windows Terminal version (or Windows build number)

10.0.19042.0

Other Software

No response

Steps to reproduce

Write code that has more lines than is displayed on screen, or bring the code back in PowerShell by using up arrow to return to code that has previously been executed.

Expected Behavior

I would expect to go back to the code by using the arrow keys, or PowerShell's CTRL+r functionality.
This works as expected in CMD, but not in Windows Terminal.
Here we can see it working in CMD, I can go back and forth between the top and the bottom of the text:
image
image

Actual Behavior

And here it isn't working in Windows Terminal:
image
image

Once the top line has scrolled off the screen, I can't return to it.

Originally created by @Panzerbjrn on GitHub (Aug 9, 2021). ### Windows Terminal version (or Windows build number) 10.0.19042.0 ### Other Software _No response_ ### Steps to reproduce Write code that has more lines than is displayed on screen, or bring the code back in PowerShell by using up arrow to return to code that has previously been executed. ### Expected Behavior I would expect to go back to the code by using the arrow keys, or PowerShell's CTRL+r functionality. This works as expected in CMD, but not in Windows Terminal. Here we can see it working in CMD, I can go back and forth between the top and the bottom of the text: ![image](https://user-images.githubusercontent.com/10132417/128700991-634465df-6567-4a3a-b86c-94ce4ea133b5.png) ![image](https://user-images.githubusercontent.com/10132417/128700932-3e53b25f-8876-4e54-82ec-54c58f81423d.png) ### Actual Behavior And here it isn't working in Windows Terminal: ![image](https://user-images.githubusercontent.com/10132417/128701202-0ff24252-5d4c-4c9f-8eaf-62bd3953feb5.png) ![image](https://user-images.githubusercontent.com/10132417/128701254-508969cc-d61c-4bc9-8154-182bbab1e3b2.png) Once the top line has scrolled off the screen, I can't return to it.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#14825