#[non_exhaustive]
pub enum KeyCode {
}
Expand description
Input key pressed
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
UnknownEscSeq
Unsupported escape sequence (on unix platform)
Backspace
⌫ or Ctrl-H
BackTab
⇤ (usually Shift-Tab)
BracketedPasteStart
Paste (on unix platform)
BracketedPasteEnd
Paste (on unix platform)
Char(char)
Single char
Delete
⌦
Down
↓ arrow key
End
⇲
Enter
↵ or Ctrl-M
Esc
Escape or Ctrl-[
F(u8)
Function key
Home
⇱
Insert
Insert key
Left
← arrow key
Null
\0
PageDown
⇟
PageUp
⇞
Right
→ arrow key
Tab
⇥ or Ctrl-I
Up
↑ arrow key