Repository navigation
Closed
Labels
Milestone
Description
Currently vi-mode dynamic block and beam cursors do not work in Foot Terminal.
As discussed in https://codeberg.org/dnkl/foot/issues/772 I am suspecting it is going to be an easy fix by just adding foot in the list here
fish-shell/share/functions/fish_vi_cursor.fish
Lines 34 to 55 in b0b6a58
| # We need one of these terms. | |
| # It would be lovely if we could rely on terminfo, but: | |
| # - The "Ss" entry isn't a thing in macOS' old and crusty terminfo | |
| # - It is set for xterm, and everyone and their dog claims to be xterm | |
| # | |
| # So we just don't care about $TERM, unless it is one of the few terminals that actually have their own entry. | |
| # | |
| # Note: Previous versions also checked $TMUX, and made sure that then $TERM was screen* or tmux*. | |
| # We don't care, since we *cannot* handle term-in-a-terms 100% correctly. | |
| if not set -q KONSOLE_PROFILE_NAME | |
| and not test -n "$KONSOLE_VERSION" -a "$KONSOLE_VERSION" -ge 200400 # konsole, but new. | |
| and not set -q ITERM_PROFILE | |
| 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 | |
| and not string match -q 'alacritty*' -- $TERM | |
| return | |
| end |
fish --version = fish, version 3.3.1
uname -a = Linux nixos 5.14.15 #1-NixOS SMP Wed Oct 27 07:59:56 UTC 2021 x86_64 GNU/Linux
echo $TERM = foot```
Reacted by Omar Zeghouani
Activity
faho commentedon Nov 8, 2021
I simply fixed it now.
In future: For issues this simple, if you're prepared to open a PR you can just do so - answering that we would accept a PR and then reviewing it and merging it is more work than just fixing it.
(we also don't require an accompanying issue - no need for double bookkeeping!)
CHANGELOG updates for 3.4.0