diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-06 12:47:24 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-06 12:47:24 -0500 |
| commit | b20dcaaf6008c318ae3b1fcac087ad95c50f3ae6 (patch) | |
| tree | 865d2269a25a71f746f4d287fec84cca8fc01c75 /modules/system-utils.el | |
| parent | 7e9ce3c072b41a68350998672a4df3bf9114e41f (diff) | |
| download | dotemacs-b20dcaaf6008c318ae3b1fcac087ad95c50f3ae6.tar.gz dotemacs-b20dcaaf6008c318ae3b1fcac087ad95c50f3ae6.zip | |
fix(term): land copy-mode cursor at column 0
Entering copy-mode from C-; x c left the cursor at the live column, far right after a prompt, so scrolling up ran the cursor up the right edge instead of the left.
In the tmux branch I append C-a after C-b [, which tmux's emacs copy-mode reads as start-of-line. It has to go after C-b [: before copy-mode is active, C-a would hit the shell's readline instead. In the non-tmux ghostel-copy-mode branch I call beginning-of-line after entering the view, for the same column-0 result. Both branches now run the cursor up the left edge.
The non-tmux test asserts ghostel-copy-mode runs before beginning-of-line, since the move only repositions inside an active copy view. Its tracker variable is dwim-order, not calls, to avoid clashing with the variable the tmux mock macro binds.
Diffstat (limited to 'modules/system-utils.el')
0 files changed, 0 insertions, 0 deletions
