fix Ctrl-c catch on SSH BBS

This commit is contained in:
duponin 2022-05-18 20:06:16 +02:00
parent e606b9ab3f
commit 39c47073a3
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ defp wait_input(state, input) do
loop(%{state | counter: state.counter + 1}) loop(%{state | counter: state.counter + 1})
{:error, :interrupted} -> {:input, ^input, {:error, :interrupted}} ->
IO.puts("Caught Ctrl+C...") IO.puts("Caught Ctrl+C...")
loop(%{state | counter: state.counter + 1}) loop(%{state | counter: state.counter + 1})