From a595f240c676c51bc0401d6d5596ec581280a853 Mon Sep 17 00:00:00 2001 From: frazze-jobb Date: Thu, 2 Nov 2023 16:13:58 +0100 Subject: [PATCH] fix two calls towards get_line_echo_off1 --- lib/kernel/src/group.erl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/kernel/src/group.erl b/lib/kernel/src/group.erl index 2905b89e2e4f..985dd7f23f1a 100644 --- a/lib/kernel/src/group.erl +++ b/lib/kernel/src/group.erl @@ -835,11 +835,11 @@ get_line_echo_off1({Chars,[],Rs}, Drv, Shell) -> get_line_echo_off1(edit_line(eof, Chars), Drv, Shell); {io_request,From,ReplyAs,Req} when is_pid(From) -> io_request(Req, From, ReplyAs, Drv, Shell, []), - get_line_echo_off1({Chars,[]}, Drv, Shell); + get_line_echo_off1({Chars,[],[]}, Drv, Shell); {reply,{From,ReplyAs},Reply} when From =/= undefined -> %% We take care of replies from puts here as well io_reply(From, ReplyAs, Reply), - get_line_echo_off1({Chars,[]},Drv, Shell); + get_line_echo_off1({Chars,[],[]},Drv, Shell); {'EXIT',Drv,interrupt} -> interrupted; {'EXIT',Drv,_} -> @@ -855,7 +855,6 @@ get_line_echo_off1({Chars,Rest,Rs}, Drv, _Shell) -> false -> skip end, {done,lists:reverse(Chars),case Rest of done -> []; _ -> Rest end}. - get_chars_echo_off(Pbs, Drv, Shell) -> send_drv_reqs(Drv, [{insert_chars, unicode,Pbs}]), get_chars_echo_off1(Drv, Shell).