Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
struct
Term::Reader::Key
Inherits
Struct
<
Value
<
Object
Responsible for meta-data information about key pressed
Constructors
new
(name :
String
, ctrl :
Bool
= false, meta :
Bool
= false, shift :
Bool
= false)
Source
Instance methods
clone
Source
copy_with
(name _name = @name, ctrl _ctrl = @ctrl, meta _meta = @meta, shift _shift = @shift)
Source
ctrl
meta
name
shift