Skip to main content

Module text_sizing

Module text_sizing 

Source
Expand description

Kitty OSC 66 text sizing.

write_sized_text encodes text at the current cursor position. Cursor placement and frame state belong to the screen’s renderer.

See https://sw.kovidgoyal.net/kitty/text-sizing-protocol/.

Structs§

TextSizing
Geometry and fractional font size for one Kitty OSC 66 block.

Functions§

write_sized_text
Write one OSC 66 sequence at the current cursor position.