struct

TermBuf::Input::Events::Key

Inherits TermBuf::Input::Event < Struct < Value < Object

A key press. bytes is what the terminal sent to say so, which matters for the sequences the decoder could not name and for anything an application would rather interpret itself.

Constructors

new(key : Input::Key, bytes : Bytes)
Source

Instance methods

bytes
clone
Source
copy_with(key _key = @key, bytes _bytes = @bytes)
Source
key