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:
parent
372c3eed52
commit
9c412a8806
1 changed files with 0 additions and 14 deletions
|
@ -313,20 +313,6 @@ mod test {
|
||||||
assert_eq!(to_esc_str(&pagedown, &any), Some("\x1b[6~".to_string()));
|
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]
|
#[test]
|
||||||
fn test_application_mode() {
|
fn test_application_mode() {
|
||||||
let app_cursor = TermMode::APP_CURSOR;
|
let app_cursor = TermMode::APP_CURSOR;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue