diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2026-02-15 17:25:22 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-15 17:25:22 +0800 |
| commit | b614c1539265887a6c7a059416504e9c6b145935 (patch) | |
| tree | ceae2f1266c52a7ecbab852cdc8d1bd58d4f9063 /test/functional/vimscript/executable_spec.lua | |
| parent | ead2b4f76999234fbe6280cfa92e78507f604e01 (diff) | |
| download | rneovim-b614c1539265887a6c7a059416504e9c6b145935.tar.gz rneovim-b614c1539265887a6c7a059416504e9c6b145935.tar.bz2 rneovim-b614c1539265887a6c7a059416504e9c6b145935.zip | |
refactor(terminal): don't put cursor at bottom-left in Normal mode (#37873)
When the terminal process is suspended, putting cursor at bottom-left
hints that pressing a key will change the suspended state. However, when
returning to Normal mode, the user is more likely to interact with the
actual terminal output (e.g. copying it), so it's better to put cursor
at the old position which should be closer to the output.
Also, using is_focused() to check for mode is confusing. Just check
`State & MODE_TERMINAL` instead.
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions