8000 fish doesn't make cursor visible again if a program makes it invisible · Issue #10834 · fish-shell/fish-shell · GitHub
[go: up one dir, main page]

Skip to content

fish doesn't make cursor visible again if a program makes it invisible #10834

@jvns

Description

@jvns

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".

asciinema recording

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0