GhosttyTerminalRenderCursor class final
Cursor viewport state derived from Ghostty render-state data.
- Annotations
Constructors
- GhosttyTerminalRenderCursor({required GhosttyRenderStateCursorVisualStyle visualStyle, required bool visible, required bool blinking, required bool passwordInput, required bool hasViewportPosition, int? row, int? col, bool onWideTail = false, Color? color})
-
const
Properties
- blinking → bool
-
Whether the cursor should blink.
final
- col → int?
-
The cursor column within the visible viewport, if available.
final
- color → Color?
-
The explicit cursor color, if Ghostty exposed one.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasViewportPosition → bool
-
Whether the cursor has a viewport position.
final
- onWideTail → bool
-
Whether the cursor is positioned on the tail half of a wide cell.
final
- passwordInput → bool
-
Whether the cursor is positioned over password input.
final
- row → int?
-
The cursor row within the visible viewport, if available.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- visible → bool
-
Whether the cursor should currently be shown.
final
- visualStyle → GhosttyRenderStateCursorVisualStyle
-
The visual cursor shape.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited