-
Notifications
You must be signed in to change notification settings - Fork 0
Ctrl-c (SIGINT) temporarily disrupts zshell #3
Copy link
Copy link
Open
Labels
Description
Repro steps:
With zshell:
- Open a flanpage, e.g.
flan ls - Send a kill signal to flan. Doesn't seem to matter which signal (e.g.
sigintvia ctrl-c,sigtermviakill, etc). - Interact with terminal (hit your enter key, type anything, etc).
Issue
Immediately after flan closes, you'll see the previously displayed flanpage and your shell prompt printed right below it. When you type anything in, the flanpage will disappear and you'll see your shell history.
The same thing exact happens with man, when you send a kill signal to it. The difference is man doesn't recognize Ctrl-c, and flan does.
Expected behavior
Either flan should ignore Ctrl-c (like man), or Ctrl-c should cleanly exit (no future interaction with the shell should cause anything weird to happen).
Reactions are currently unavailable