Orange.Terminal.KeyEvent (orange v0.4.0)
Terminal keyboard events.
See key_code/0
below for supported keys.
Summary
Types
Link to this type
key_code()
@type key_code() :: :backspace | :enter | :left | :right | :up | :down | :home | :end | :page_up | :page_down | :tab | :back_tab | :delete | :insert | :f1 | :f2 | :f3 | :f4 | :f5 | :f6 | :f7 | :f8 | :f9 | :f10 | :f11 | :f12 | :null | :esc | :caps_lock | :scroll_lock | :num_lock | :print_screen | :pause | :menu | :keypad_begin | {:char, String.t()}
Link to this type
key_modifier()
@type key_modifier() :: :shift | :ctrl | :alt | :super | :hyper
@type t() :: %Orange.Terminal.KeyEvent{code: key_code(), modifiers: [key_modifier()]}