mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-05-13 16:37:27 +00:00
...
This commit is contained in:
parent
044782ee13
commit
5dd737e991
1 changed files with 2 additions and 0 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue