Closed pjw91 closed 2 months ago
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
bind generic + !./script
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:
example .tigrc:
bind generic + !./script