struct Term::Reader::KeyEvent

Overview

Represents key event emitted during keyboard press

Defined in:

reader/key_event.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(key : Key, value : String, line : String) #

[View source]

Class Method Detail

def self.from(keys : Hash(String, String), char : String | Char, line : String = "") #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(key _key = @key, value _value = @value, line _line = @line) #

[View source]
def key : Key #

def line : String #

def trigger? #

[View source]
def value : String #