Guide API
Skip to main content

CARET_NORMAL

Constant CARET_NORMAL 

Source
pub const CARET_NORMAL: u8 = 1;
Expand description

Caret size for the normal (insert-mode) caret, 1% of the cell. A terminal backend shows it as the terminal’s own caret shape. See Backend::set_caret_size.

§Turbo Vision heritage

TScreen::cursorLines & 0x0F, which on the modern platform layer is the startup caret size clamped to 1..=100 — 1 on a terminal.