Replies: 1 comment 5 replies
-
The shell integration sets the cursor to a blinking bar in vi insert mode, a box in normal mode, etc. Disabling the cursor part of the shell integration disables this and only this. So yes, the configuration you have is indeed what you want: cursor-style = block
cursor-style-blink = false
shell-integration-features = no-cursor |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there,
Trying to make sense of the cursor style. I am using
zsh
and have a pretty bare setup on an M1 Max MBP Sequoia 15.1.1.Coming from iTerm2, my cursor was set by default (I believe?) to unblinking box cursor.
I noticed in Ghostty that my cursor is set to blinking vertical bar.
I set out to change that as I prefer the solid box.
I tried setting the following settings:
Reloaded ghostty, reloaded config, however these options seem to be being completely ignored.
Based on what I've read about the shell integration, I found the following settings ultimately get me what I want, but it's unclear to me as to why this accomplishes this:
What about turning off the cursor shell integration feature sets the default to
block
(maybe this is the ghostty default if there is no shell-integration?)I think as a user I would have expected that regardless of the shell integration, setting the cursor style in the settings would have overridden this as otherwise I'm left feeling like I did something wrong or the settings just don't work.
I got AI to tell me to drop this in my
.zshrc
config:echo -ne '\e[1 q
- which I got to mostly work when fiddling with various options, but I ended up disabling that in favor of the pure ghostty config.I'd like to ideally go back to a 0 config ghostty setup if what I need to do is configure my
.zshrc
config correctly, but then again that is also shell specific, so having the editor do it for me is kind of nice too.As my closing thoughts, I'm not super versed in shell configuration, so there may be some assumptions being made here about shell config that I'm not used to (as pretty much only ever being in iterm2 user on mac.)
Beta Was this translation helpful? Give feedback.
All reactions