mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-09 03:51:20 -03:00
fish_vi_cursor: add support for alternative foot terminfos
Foot has several terminfos: * foot - the default one * foot-direct - 24-bit color terminfo, similar to xterm-direct (used by e.g. emacs) * foot-extra - alternative to the ncurses provided terminfo, with a couple of extra, non-standard capabilities * foot-extra-direct - 24-bit color version of the above There may also be other distro-custom terminfo names (serving the same purpose as foot-extra*)
This commit is contained in:
committed by
Fabian Homborg
parent
c5530421f7
commit
bfedb3608f
@@ -51,7 +51,7 @@ function fish_vi_cursor -d 'Set cursor shape for different vi modes'
|
||||
and not string match -q 'xterm-kitty*' -- $TERM
|
||||
and not string match -q 'rxvt*' -- $TERM
|
||||
and not string match -q 'alacritty*' -- $TERM
|
||||
and not string match -q 'foot' -- $TERM
|
||||
and not string match -q 'foot*' -- $TERM
|
||||
return
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user