shore/key
Types
note: Many ctrl+key combinations are reserved by either the terminal (e.g.
ctrl+z
, ctrl+s
) or by the erlang shell (e.g. ctrl+c
). Make sure to test
any ctrl+key combinations being used.
pub type Key {
Backspace
Enter
Left
Right
Up
Down
Home
End
PageUp
PageDown
Tab
BackTab
Delete
Insert
F(Int)
Char(String)
Null
Esc
Ctrl(String)
}
Constructors
-
Backspace
-
Enter
-
Left
-
Right
-
Up
-
Down
-
Home
-
End
-
PageUp
-
PageDown
-
Tab
-
BackTab
-
Delete
-
Insert
-
F(Int)
-
Char(String)
-
Null
-
Esc
-
Ctrl(String)
Values
pub fn from_string(key: String) -> Key