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 | 110644a48ad63353cfe19110248d3515b4537b58 (patch) | |
| tree | 9afc7211f9321b5cfecfdd5a2328818f34792d11 /scripts/reset-to-first-launch.sh | |
| parent | 0946c42f5caaf715786780b7be8205e6ac289d8a (diff) | |
| download | dotemacs-110644a48ad63353cfe19110248d3515b4537b58.tar.gz dotemacs-110644a48ad63353cfe19110248d3515b4537b58.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 'scripts/reset-to-first-launch.sh')
0 files changed, 0 insertions, 0 deletions
