Replies: 8 comments 9 replies
-
I'm not sure about this, so I converted it to a discussion to solicit more feedback. Note that all of this can be disabled if you disable shell integration cursor handling with |
Beta Was this translation helpful? Give feedback.
-
At least with Kitty and shell integration, when setting
|
Beta Was this translation helpful? Give feedback.
-
Definitely very annoying not to have an easy way to turn off cursor blinking. It's counterintuitive that setting cursor-style-blink = false in the config seems to do nothing. |
Beta Was this translation helpful? Give feedback.
-
I use grml-zsh-config. When opening Ghostty, it starts with a bar+blinking cursor(1). When spawning a new (2) is the desired behavior – iTerm2 and Terminal.app both do it out-of-the-box. I am not sure why Ghostty sets a bar+blinking cursor, whilst the other terminal emulators do not. This discussion / issue seems to track down the root cause. I would suggest converting it back to an Issue. Happy to provide logs and/or more info if it helps! |
Beta Was this translation helpful? Give feedback.
-
Oh man, I was THIS close to opening another Issue for "Config file isn't working at all on macOS"
Anyway, it turns out the issue was the shell integration (whatever it means) and the workaround suggested above, worked. I also would like to note that the "Ghostty > Reload configuration" menu option doesn't reset the currently open terminal an/or reapply the shell-integration-features setting. This is another reason I thought it was completely ignoring the config file - there's no logging or anything, not even if I make typos in the config. (1): I've never seen that in an interactive prompt where the cursor is nominally at the end of data - in a word processor, yes okay, because the nature of text editing is completely different there |
Beta Was this translation helpful? Give feedback.
-
Just chiming in to say I also thought this was broken since it was the first thing I noticed and tried to configure. While admittedly a very minor thing (and simple enough to fix), it was a pretty sour start to trying out something new. Call me fickle, but had I not discovered this thread I might have just been annoyed enough to remove the app and switch back to my old terminal app without giving ghostty a fair shake. 🙃 Definitely something that should—at the very least—be mentioned in the docs next to the |
Beta Was this translation helpful? Give feedback.
-
Edit: ok it only blinks inside tmux now. I don't know what's going but it still blinks even with running tmux + nvim + ghossty
|
Beta Was this translation helpful? Give feedback.
-
Any update on this? I want to have |
Beta Was this translation helpful? Give feedback.
-
Setting
cursor-style-blink
to false has virtually no effect because shell integration will automatically turn on blinking.Here is the relevant snippet from zsh's shell integration.
I think the shell integration should:
cursor-style-blink
is set.PS: When suspending a tui (vim in my case) using ctrl-z, the cursor is not being changed by the shell integration idk why. Should I open another issue for this?
Beta Was this translation helpful? Give feedback.
All reactions