Skip to content

Ctrl-c (SIGINT) temporarily disrupts zshell #3

@vlymar

Description

@vlymar

Repro steps:

With zshell:

  1. Open a flanpage, e.g. flan ls
  2. Send a kill signal to flan. Doesn't seem to matter which signal (e.g. sigint via ctrl-c, sigterm via kill, etc).
  3. 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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions