Skip to content

Let PowerShell select the line with Shift+Home and Shift+End - #1070

Merged
Kuddev merged 1 commit into
mainfrom
fix/powershell-shift-home-end-1052-1120
Nov 20, 2026
Merged

Kuddev merged 1 commit into
mainfrom
fix/powershell-shift-home-end-1052-1120

Conversation

@Kuddev

@Kuddev Kuddev commented Nov 20, 2026

Copy link
Copy Markdown
Owner

Pebrel consumed Shift+Home and Shift+End as viewport scroll commands before the shell key encoder received them. Forward the chords at a local PowerShell prompt, using the current shell report or, before its first report, the launched shell. Other shell prompts and vi navigation retain their existing scroll behavior.

The GPUI regression exercises both keys, the Windows PowerShell launch path, and switching reported shells. A live PowerShell 7.6.8 PSReadLine probe selected text from the middle of a line in both directions and verified the replacement text. The architecture and whitespace checks passed.

Fixes #1052.

@github-actions github-actions Bot added the size/S ≤100 行源码改动 label Nov 20, 2026
@Kuddev
Kuddev changed the base branch from fix/powershell-provider-listing-1063-1120 to main November 20, 2026 11:46
@Kuddev
Kuddev merged commit 779ff4e into main Nov 20, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/S ≤100 行源码改动

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Shift + Home/End强制将视口滚动到最上/下方,而无法行使PowerShell自身的功能

1 participant