aboutsummaryrefslogtreecommitdiff
path: root/runtime/syntax/python.vim
diff options
context:
space:
mode:
authorSean Dewar <6256228+seandewar@users.noreply.github.com>2025-02-23 15:58:16 +0000
committerSean Dewar <6256228+seandewar@users.noreply.github.com>2025-08-26 09:49:12 +0100
commit5e521c3b5ac3905ba4b34fead3dcd9b69e5196ed (patch)
tree706a0b74d7e1b8a642261cfca16327223965da91 /runtime/syntax/python.vim
parent088ba835ed5f89869a30bc13e8d203894328a69d (diff)
downloadrneovim-5e521c3b5ac3905ba4b34fead3dcd9b69e5196ed.tar.gz
rneovim-5e521c3b5ac3905ba4b34fead3dcd9b69e5196ed.tar.bz2
rneovim-5e521c3b5ac3905ba4b34fead3dcd9b69e5196ed.zip
fix(terminal): avoid tailed cursor in focused terminal in events
Problem: in terminal mode, adjust_topline moves curwin's cursor to the last row so set_topline tails the non-scrollback area. This may result in the observed cursor position remaining tailed in events within the focused terminal, rather than reflecting the actual cursor position. Solution: use the focused terminal's actual cursor position immediately, rather than relying on the next terminal_check_cursor call in terminal_check to set it. Note: Maybe also possible for terminal mode cursor position to be stale (reporting the normal mode position) when switching buffers in events to another terminal until the next terminal_check call? (or until refresh_terminal is called for it) Maybe not worth fixing that, though.
Diffstat (limited to 'runtime/syntax/python.vim')
0 files changed, 0 insertions, 0 deletions