Add Ctrl+Shift+Home/End selection and document Windows Terminal workaround - #927
Open
barkure (barkure) wants to merge 1 commit into
Open
Add Ctrl+Shift+Home/End selection and document Windows Terminal workaround#927barkure (barkure) wants to merge 1 commit into
barkure (barkure) wants to merge 1 commit into
Conversation
…round Fixes microsoft#687 The VT sequences CSI 1;5 H/F (Ctrl+Home/End) and CSI 1;6 H/F (Ctrl+Shift+Home/End) were already correctly parsed in input.rs:parse_modifiers and handled in tui.rs HOME/END. Add regression tests for the VT parsing and the selection behavior, and document the required Windows Terminal keybinding unbind in README.md.
barkure (barkure)
force-pushed
the
fix/687-ctrl-shift-home-end
branch
from
August 19, 2026 20:54
c8b2639 to
0f5ae36
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #687
The VT sequences
CSI 1;5 H/F(Ctrl+Home/End) andCSI 1;6 H/F(Ctrl+Shift+Home/End) were already correctly parsed ininput.rs:parse_modifiersand handled intui.rsHOME/END (combinedCTRL+SHIFTcheck). The remaining gap was test coverage and user-facing documentation for the Windows Terminal interception.ESC[1;5H/ESC[1;6H/ESC[1;5F/ESC[1;6FCtrl+Shift+Home/Endcreates selection to file start/endsettings.jsonunbind inREADME.mdValidation:
cargo test -p edit --libcargo test -p stdextcargo clippy -p edit -p stdextcargo fmt --check