struct Term::Reader::Key

Overview

Responsible for meta-data information about key pressed

Defined in:

reader/key_event.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String, ctrl : Bool = false, meta : Bool = false, shift : Bool = false) #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(name _name = @name, ctrl _ctrl = @ctrl, meta _meta = @meta, shift _shift = @shift) #

[View source]
def ctrl : Bool #

def meta : Bool #

def name : String #

def shift : Bool #