Skip to content

Commit

Permalink
fix two calls towards get_line_echo_off1
Browse files Browse the repository at this point in the history
  • Loading branch information
frazze-jobb committed Nov 2, 2023
1 parent e8ad79c commit a595f24
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/kernel/src/group.erl
Original file line number Diff line number Diff line change
Expand Up @@ -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,_} ->
Expand All @@ -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).
Expand Down

0 comments on commit a595f24

Please sign in to comment.