Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
module
Cri::Tui::HighlightRenderer
Class methods
line
(text :
String
, offset :
Int32
, regions :
Array
(
Highlight
), width :
Int32
, theme :
Theme
|
Nil
, selection :
Range
(
Int32
,
Int32
) |
Nil
= nil) :
String
Sanitize before emitting styles. Raw buffer text never supplies ANSI.
Source