Home
last modified time | relevance | path

Searched refs:FunctionKeySuffix (Results 1 – 2 of 2) sorted by relevance

/NovaShell/src/
H A Dkeycode.rs24 pub enum FunctionKeySuffix { enum
35 impl FunctionKeySuffix { impl
39 FunctionKeySuffix::Up => &[0x5b, 0x41], in bytes()
40 FunctionKeySuffix::Down => &[0x5b, 0x42], in bytes()
41 FunctionKeySuffix::Left => &[0x5b, 0x44], in bytes()
42 FunctionKeySuffix::Right => &[0x5b, 0x43], in bytes()
43 FunctionKeySuffix::Home => &[0x5b, 0x48], in bytes()
44 FunctionKeySuffix::End => &[0x5b, 0x46], in bytes()
45 FunctionKeySuffix::Delete => &[0x5b, 0x33, 0x7e], in bytes()
51 [0x5b, 0x41] => Some(FunctionKeySuffix::Up), in try_from()
[all …]
/NovaShell/src/shell/
H A Dmod.rs13 keycode::{FunctionKeySuffix, SpecialKeycode},
189 while FunctionKeySuffix::should_read_more(&keys) { in handle_funckey()
192 let function_key = FunctionKeySuffix::try_from(&keys); in handle_funckey()
200 FunctionKeySuffix::Up => { in handle_funckey()
208 FunctionKeySuffix::Down => { in handle_funckey()
216 FunctionKeySuffix::Left => { in handle_funckey()
222 FunctionKeySuffix::Right => { in handle_funckey()
228 FunctionKeySuffix::Home => { in handle_funckey()
232 FunctionKeySuffix::End => { in handle_funckey()
235 FunctionKeySuffix::Delete => self.printer.delete(1), in handle_funckey()