diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-24 00:34:56 -0400 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-24 00:34:56 -0400 |
| commit | e9734e125234ba8019efb1e0accd7ce2d48ff920 (patch) | |
| tree | bc8d06adf5b715e244cf2b67e4bed658e84c933b /scripts/theme-studio/app-util.js | |
| parent | d18b717a3de2dafebeeaf4ddb25cb0c2eaf494a6 (diff) | |
| download | dotemacs-e9734e125234ba8019efb1e0accd7ce2d48ff920.tar.gz dotemacs-e9734e125234ba8019efb1e0accd7ce2d48ff920.zip | |
fix(term): scope copy-mode to C-<up> and don't re-enter mid-copy
Today's modified-arrow work bound every C-arrow and M-arrow to copy-mode, which swallowed C-<left>/C-<right> — readline word-motion at the shell prompt. Bind only C-<up> (enter copy-mode and scroll up); the other arrows pass through to the terminal again. C-<up> pressed while already in copy-mode now just moves up: cj/term-copy-mode-up checks tmux pane_in_mode (and ghostel--input-mode without tmux) and skips re-entry, which would otherwise reset the cursor to the start of the line.
Claude-Session: https://claude.ai/code/session_01BqrdWUo9GcznYX2pZr76gZ
Diffstat (limited to 'scripts/theme-studio/app-util.js')
0 files changed, 0 insertions, 0 deletions
