aboutsummaryrefslogtreecommitdiffstats
path: root/src/ansi.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/ansi.rs')
-rw-r--r--src/ansi.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ansi.rs b/src/ansi.rs
index e04f6d9..522c752 100644
--- a/src/ansi.rs
+++ b/src/ansi.rs
@@ -130,7 +130,7 @@ pub fn read(debug: bool) -> KeyboardInput {
12 => CtrlL,
18 => CtrlR,
27 => read_escape(debug),
- b'\r' => Key(x),
+ b'\t' | b'\r' => Key(x),
x if !x.is_ascii_control() => Key(x),
x => todo!("unimplemented control code: {x}"),
}