Repository navigation
Ctrl+1–9 and Ctrl+0 go to a character's main window (window) - #154
Merged
Merged
Conversation
The window reports Ctrl+digit whole, so the first ten open characters (the sidebar's order, the one Alt+J/K walk) get a chord each. The sidebar, the character menu, Ctrl+P, help and --help name it; F4 says taken there and never-arrives in a terminal, which sends those chords as other keys' bytes. Ctrl+0 is the tenth character, so the window's zoom reset is Ctrl+Numpad 0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Rqqt7VrK9BTNSCRykCrj3p
HarryCordewener
marked this pull request as ready for review
November 26, 2026 23:42
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.
Requested by Grave · project thread
What
In the window, Ctrl+1 to Ctrl+9 and Ctrl+0 go to the main window of the first ten open characters, in the sidebar's order (
CommandCatalog.CharacterCycle, the order Alt+J/K walk). A digit with no character behind it says so and opens nothing.⌃Nwhere the chord exists (instead of ⌥J/⌥K on the two neighbours). Help and--helpmention it on that host only.Terminal
No Ctrl+digit chord exists there: terminals send Ctrl+1 as
1, Ctrl+3 as Escape, Ctrl+8 as Backspace (MacroKeys.DigitBytes), and the kitty keyboard protocol can't be decoded through SharpConsoleUI. Alt+digit is already the character's own windows, so the terminal keeps Alt+J/K and Ctrl+P. The chords are registered only whereHostKeys.ReportsChordsWhole, so nothing in the terminal changes.Tests
CharacterJumpTests(Tui),TerminalZoomTests.CtrlAndADigitReachTheClientAsTheChordAndTypeNothing(Avalonia), andSurfaceParityTests.F4TellsTheWindowsTruthnow uses Ctrl+H as its window-only macro chord. All seven suites pass locally exceptAReadOnlyCacheDirectory_DegradesToMemoryOnly, which fails only because the container runs as root.Generated by Claude Code