mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
Update comment
This commit is contained in:
@ -51,8 +51,8 @@ pub fn style(
|
|||||||
// If the cursor is explicitly not visible by terminal mode, we don't render.
|
// If the cursor is explicitly not visible by terminal mode, we don't render.
|
||||||
if (!state.terminal.modes.get(.cursor_visible)) return null;
|
if (!state.terminal.modes.get(.cursor_visible)) return null;
|
||||||
|
|
||||||
// If we're not focused, our cursor is always visible so that
|
// If we're not focused, our cursor is always visible showing the
|
||||||
// we can show the hollow box.
|
// specified style.
|
||||||
if (!focused) return Style.fromTerminal(state.terminal.screen.cursor.cursor_style_unfocused);
|
if (!focused) return Style.fromTerminal(state.terminal.screen.cursor.cursor_style_unfocused);
|
||||||
|
|
||||||
// If the cursor is blinking and our blink state is not visible,
|
// If the cursor is blinking and our blink state is not visible,
|
||||||
|
Reference in New Issue
Block a user