From fb5ee5e190f49acbf3ff09018eb177b17e6baadd Mon Sep 17 00:00:00 2001 From: notoria Date: Sat, 18 Apr 2020 13:33:42 +0200 Subject: [PATCH] get_single_char reads Tab as \t --- src/prolog/machine/system_calls.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/prolog/machine/system_calls.rs b/src/prolog/machine/system_calls.rs index 1b2f48f0..1a783ac9 100644 --- a/src/prolog/machine/system_calls.rs +++ b/src/prolog/machine/system_calls.rs @@ -81,6 +81,10 @@ pub fn get_single_char() -> char { c = '\n'; break; }, + KeyCode::Tab => { + c = '\t'; + break; + }, _ => () } } -- 2.54.0