Commit 4a9eb59
committed
Fix copy-mode M-> landing at bottom-right and exit not scrolling back
M-> (end-of-buffer) in copy-mode was overriding the native cursor
position with (goto-char (point-max)), landing at the bottom-right
corner instead of the terminal cursor (after the last prompt). Remove
the explicit goto since ghostel--redraw already positions point
correctly.
Exiting copy-mode after scrolling up left the viewport frozen at
the scrolled position. Add ghostel--scroll-bottom before the
invalidate so the subsequent redraw shows the current terminal state.1 parent 56ef155 commit 4a9eb59
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
946 | 946 | | |
947 | 947 | | |
948 | 948 | | |
949 | | - | |
| 949 | + | |
| 950 | + | |
| 951 | + | |
950 | 952 | | |
951 | 953 | | |
952 | 954 | | |
| |||
1095 | 1097 | | |
1096 | 1098 | | |
1097 | 1099 | | |
| 1100 | + | |
| 1101 | + | |
1098 | 1102 | | |
1099 | 1103 | | |
1100 | 1104 | | |
| |||
0 commit comments