jonas/tig

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

pjw91 opened this issue · 0 comments

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