aboutsummaryrefslogtreecommitdiffstats
path: root/src/ansi.rs
diff options
context:
space:
mode:
authorJonas Maier <>2026-04-20 11:29:20 +0200
committerJonas Maier <>2026-04-20 11:29:20 +0200
commit3b06d1aa9ee674d6a66457eb38e0c0989cd4628d (patch)
tree57dcec174dd690882e61ae37ad98b2809c4f5b56 /src/ansi.rs
parent9a277b18f976305be0a56c01f125501937852005 (diff)
downloadpish-3b06d1aa9ee674d6a66457eb38e0c0989cd4628d.tar.gz
reading rc file
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}"),
}