Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop changing the cursor #11883

Open
djmattyg007 opened this issue Oct 14, 2024 · 3 comments · May be fixed by #11983
Open

Stop changing the cursor #11883

djmattyg007 opened this issue Oct 14, 2024 · 3 comments · May be fixed by #11983
Labels
C-bug Category: This is a bug

Comments

@djmattyg007
Copy link

Summary

I use Windows Terminal and WSL. I have my terminal configured to use the "bar" cursor. By default, Helix wants to use the "block" cursor. Even when I configure it to use a "bar" cursor, it still resets the cursor to "block" when Helix exits.

Reproduction Steps

I added this to my config file:

[editor.cursor-shape]
insert = "bar"
normal = "bar"
select = "bar"

When Helix opens, it "maintains" the current cursor, which is meant to be "bar".

Now close Helix, without performing any other actions. It changes the cursor to "block" anyway, despite being configured to not use "block".

Helix log

I deleted the log file before performing the reproduction steps. Upon completing the reproduction steps, the log file was present but empty. There's nothing to provide here.

Platform

Linux inside WSL

Terminal Emulator

Windows Terminal 1.21.2361.0

Installation Method

Arch Linux official repos

Helix Version

helix 24.7

@djmattyg007 djmattyg007 added the C-bug Category: This is a bug label Oct 14, 2024
@djmattyg007
Copy link
Author

From my perspective, the ideal solution would be to provide an option that prevents Helix from altering the terminal cursor at all. I don't want to customise the appearance of the cursor, and I don't want my software changing the appearance of the cursor. I want the cursor I've configured myself in my terminal to be the only cursor that is used.

@djmattyg007
Copy link
Author

I know I'm far from the first person to discuss the issue of cursor management in this project. I submitted this report for two reasons:

  1. I hadn't seen anyone else report the issue of Helix resetting to "block" cursor on exit no matter what is configured.
  2. I hadn't seen anyone else request support for "please do not alter my cursor at all".

@kujohn
Copy link

kujohn commented Oct 30, 2024

I also have an issue with cursor changing from underline to block upon entering and exiting helix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants