Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
Tui::RichText::InlineCode
Inherits
Tui::RichText::InlineElement
/
Reference
/
Object
Inline code with copy action
Constructors
new
(code :
String
, id :
String
|
Nil
= nil)
Source
Instance methods
code
Source
code=
(code :
String
)
Source
focus_style
Source
focus_style=
(focus_style :
Style
)
Source
handle_event
(event :
Event
) :
Bool
Source
on_copy
Source
render
(buffer :
Buffer
, x :
Int32
, y :
Int32
, clip :
Rect
, focused :
Bool
) :
Int32
Source
style
Source
style=
(style :
Style
)
Source
width
Source