From: notoria Date: Sat, 18 Apr 2020 11:33:42 +0000 (+0200) Subject: get_single_char reads Tab as \t X-Git-Tag: v0.8.123~132^2^2~4^2~3 X-Git-Url: https://git.sagredo.dev/?a=commitdiff_plain;h=b35b49f7b3636a786d0f996f4189a36ab6883a3e;p=scryer-prolog.git get_single_char reads Tab as \t --- 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; + }, _ => () } }