codekitchen/pipeline

Corrupted terminal when running a command which goes in loop

Closed this issue · 1 comments

Are you able to reproduce the following? I forgot to write in the screencast the following:

  • the bash: i: command not found error is because I just pressed iEnter;
  • when you see the prompt copied horizontally, that happens when I hit Enter.

asciicast

hm I bet I need to trap SIGINT (and probably PIPE) and tell readline to reset some terminal state.