mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-25 09:39:52 +08:00
Support Apple_Terminal in fish_vi_cursor
This enables it unconditionally, as tests show that the cursor escapes are ignored before 10.12. Fixes #8167
This commit is contained in:
parent
fdf8f17397
commit
b0b6a585a8
|
@ -24,7 +24,8 @@ Scripting improvements
|
|||
|
||||
Interactive improvements
|
||||
------------------------
|
||||
Vi mode cursors are now set properly after control-C. (:issue:`8125`).
|
||||
- vi mode cursors are now set properly after control-C. (:issue:`8125`).
|
||||
- vi mode cursors are enabled in Apple Terminal (:issue:`8167`).
|
||||
|
||||
New or improved bindings
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
|
@ -46,6 +46,7 @@ function fish_vi_cursor -d 'Set cursor shape for different vi modes'
|
|||
and not set -q VTE_VERSION # which version is already checked above
|
||||
and not set -q WT_PROFILE_ID
|
||||
and not set -q XTERM_VERSION
|
||||
and not string match -q "Apple_Terminal" -- $TERM_PROGRAM
|
||||
and not string match -rq '^st(-.*)$' -- $TERM
|
||||
and not string match -q 'xterm-kitty*' -- $TERM
|
||||
and not string match -q 'rxvt*' -- $TERM
|
||||
|
|
Loading…
Reference in New Issue
Block a user