Add test for input
Added a test while debugging arrow keys, no reason to delete it.
This commit is contained in:
parent
90e343b36d
commit
6d4e10e2b9
|
@ -449,4 +449,12 @@ mod tests {
|
||||||
mode: mode::NONE,
|
mode: mode::NONE,
|
||||||
mods: modifier::NONE
|
mods: modifier::NONE
|
||||||
}
|
}
|
||||||
|
|
||||||
|
test_process_binding! {
|
||||||
|
name: process_binding_appcursormode_appkeypadmode_nomod_require_appcursor,
|
||||||
|
binding: Binding { mods: modifier::ANY, send: "\x1bOD", mode: mode::APP_CURSOR, notmode: mode::NONE },
|
||||||
|
expect: Some(String::from("\x1bOD")),
|
||||||
|
mode: mode::APP_CURSOR | mode::APP_KEYPAD,
|
||||||
|
mods: modifier::NONE
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue