Skip to content

Cursor shape isn't restored #279

Description

@GaspardCulis

Issue

If I change my cursor shape to a pipe for example

# ~/.config/rio/config.toml
cursor = '|'

And then launch a process that changes the cursor's shape like a CLI text editor (vim or helix), when I exit the process the cursor shape does not get restored to the one defined in config.toml.

Expected behavior

The cursor shape should get restored to the one defined in the config.

Something like xfce4-terminal has the expected behavior.

System

Rio:

❯ rio --version
rioterm 0.0.22

OS:

❯ cat /etc/os-release
NAME="EndeavourOS"
PRETTY_NAME="EndeavourOS"
ID="endeavouros"
ID_LIKE="arch btw"
BUILD_ID="2023.05.28"
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://endeavouros.com"
DOCUMENTATION_URL="https://discovery.endeavouros.com"
SUPPORT_URL="https://forum.endeavouros.com"
BUG_REPORT_URL="https://forum.endeavouros.com/c/arch-based-related-questions/bug-reports"
PRIVACY_POLICY_URL="https://endeavouros.com/privacy-policy-2"
LOGO="endeavouros"
❯ uname -r
6.5.6-zen2-1-zen

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions