-
Hi there, Trying to make sense of the cursor style. I am using Coming from iTerm2, my cursor was set by default (I believe?) to unblinking box cursor. 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 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 I'd like to ideally go back to a 0 config ghostty setup if what I need to do is configure my 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.
Replies: 3 comments 9 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.
-
Just to make sure I understand - you cannot have a block cursor if shell integration is present? (on macos) |
Beta Was this translation helpful? Give feedback.
-
@00-kat Apologies for beating a dead horse here, but is there any way to maintain the ZSH vi-mode behavior of a line-style cursor in Insert mode, and a box-style cursor in Normal mode, while also removing the blinking? Setting Setting Any and all help appreciated. |
Beta Was this translation helpful? Give feedback.
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: