-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Description
When I run echo -e "\033[?25l" in fish, my cursor becomes invisible. In general I'm used to fish resetting my terminal settings if a program has messed something up, so I thought it might reset this as well. Though I realize "whether the cursor is visible" is a different kind of the thing than the termios modes in the link.
It's not clear to me if this is something fish should do (very happy to be told that it isn't!), but I couldn't find a discussion of this issue when I searched for it.
I ran into this when using a program that had accidentally made my cursor invisible, due to a bug.
fish version
$ fish --version
fish, version 3.7.1
$ echo $version
3.7.1
$ uname -a
Darwin grapefruit.local 23.4.0 Darwin Kernel Version 23.4.0: Fri Mar 15 00:12:41 PDT 2024; root:xnu-10063.101.17~1/RELEASE_ARM64_T8103 arm64
$ echo $TERM
xterm-256color
Please tell us if you tried fish without third-party customizations by executing this command and whether it affected the behavior you are reporting:
sh -c 'env HOME=$(mktemp -d) XDG_CONFIG_HOME= XDG_DATA_DIRS= fish'
It did not affect the behaviour.
how to reproduce
Run echo -e "\033[?25l".