Remove test for handling input via key events

Now, textual input is handled by a different code path than other key events.
This commit is contained in:
Max Brunsfeld 2022-07-21 21:40:37 -07:00
parent 372c3eed52
commit 9c412a8806

View file

@ -313,20 +313,6 @@ mod test {
assert_eq!(to_esc_str(&pagedown, &any), Some("\x1b[6~".to_string()));
}
#[test]
fn test_multi_char_fallthrough() {
let ks = Keystroke {
ctrl: false,
alt: false,
shift: false,
cmd: false,
key: "🖖🏻".to_string(), //2 char string
};
assert_eq!(to_esc_str(&ks, &TermMode::NONE), Some("🖖🏻".to_string()));
}
#[test]
fn test_application_mode() {
let app_cursor = TermMode::APP_CURSOR;