Skip to content

User-defined Commands does not work well with Ctrl+C #1331

@pjw91

Description

@pjw91

Given a script/command that runs in the foreground and execute it via tig "User-defined Commands", when pressing Ctrl+C, both the script and tig exit.

It is possible that Ctrl+C only terminates the script while keep tig running?

example script:

while true; do
  sleep 1
  echo yes
done

example .tigrc: bind generic + !./script

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions