Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Copy link
Copy link

Description

@jvns
Issue body actions

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

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.