struct

Bubbles::TextInput::CursorStyle

Inherits Struct < Value < Object

CursorStyle is the style for real and virtual cursors.

Constructors

Instance methods

color

Color styles the cursor block.

For real cursors, the foreground color set here will be used as the cursor color.

Source
color=(color : Lipgloss::Color | Lipgloss::NoColor)

Color styles the cursor block.

For real cursors, the foreground color set here will be used as the cursor color.

Source
color=(value : String)
Source
shape

Shape is the cursor shape. The following shapes are available:

  • Tea::CursorStyle::Block
  • Tea::CursorStyle::Underline
  • Tea::CursorStyle::Bar

This is only used for real cursors.

Source
shape=(shape : Tea::CursorStyle)

Shape is the cursor shape. The following shapes are available:

  • Tea::CursorStyle::Block
  • Tea::CursorStyle::Underline
  • Tea::CursorStyle::Bar

This is only used for real cursors.

Source