From 4b1d59d40dfcd23ed3690cc7202ed32f3ac5fa14 Mon Sep 17 00:00:00 2001 From: Huang Qi Date: Sat, 11 Mar 2023 00:28:29 +0800 Subject: [PATCH] bas: Don't ECHO input in repl Signed-off-by: Huang Qi --- interpreters/bas/bas_fs.c | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/interpreters/bas/bas_fs.c b/interpreters/bas/bas_fs.c index 534047c55..f8c7a8402 100644 --- a/interpreters/bas/bas_fs.c +++ b/interpreters/bas/bas_fs.c @@ -307,27 +307,6 @@ static int edit(int chn, int nl) FS_putChar(chn, '^'); FS_putChar(chn, ch ? (ch + 'a' - 1) : '@'); } - - /* Output normal, printable characters */ - - else - { - FS_putChar(chn, ch); - } - } - - /* It is a newline */ - - else - { - /* Echo the newline (or not). We always use newline - * termination when talking to the host. - */ - - if (nl) - { - FS_putChar(chn, '\n'); - } } f->inBuf[f->inCapacity++] = ch;