mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-06 01:05:48 +02:00
...
This commit is contained in:
@@ -222,6 +222,8 @@ func RunCommandRestoringTerminalToSaneStateAfter(cmd []string) {
|
||||
fmt.Fprintln(os.Stderr, cmd[0], "failed to start with error:", err)
|
||||
return
|
||||
}
|
||||
// Ignore SIGINT as the kernel tends to send it to us as well as the
|
||||
// subprocess on Ctrl+C
|
||||
signal.Ignore(os.Interrupt)
|
||||
defer signal.Reset(os.Interrupt)
|
||||
err = c.Wait()
|
||||
|
||||
Reference in New Issue
Block a user