Console selection via arrow keys doesn't work when code is multiple pages/scrollable #12536

Open
opened 2026-01-31 03:18:11 +00:00 by claunia · 0 comments
Owner

Originally created by @nkasco on GitHub (Feb 12, 2021).

Regardless of your window size (maximized or any other size) you cannot use the left arrow key to move the input cursor to the beginning of the pipeline. It appears to be bound to the first visible line within your current window size.

Powershell 5, not sure if happens on other consoles.

Example: Paste a multi-lined function into Windows Terminal and hit left arrow (or ctl+left arrow) and you will get an audible beep noise when it cannot scroll back further.

Expected behavior: Should be able to go back to the beginning of your command, not being stuck at the window bound. This works properly from a regular Windows PowerShell window.

image
(Cannot left arrow past the top line)

Originally created by @nkasco on GitHub (Feb 12, 2021). Regardless of your window size (maximized or any other size) you cannot use the left arrow key to move the input cursor to the beginning of the pipeline. It appears to be bound to the first visible line within your current window size. Powershell 5, not sure if happens on other consoles. Example: Paste a multi-lined function into Windows Terminal and hit left arrow (or ctl+left arrow) and you will get an audible beep noise when it cannot scroll back further. Expected behavior: Should be able to go back to the beginning of your command, not being stuck at the window bound. This works properly from a regular Windows PowerShell window. ![image](https://user-images.githubusercontent.com/1930697/107783372-2efe6a00-6d18-11eb-8676-b181d02500af.png) (Cannot left arrow past the top line)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#12536