This commit is contained in:
Kovid Goyal 2022-12-27 17:20:25 +05:30
parent cf1d9eb303
commit 4690f3c7c0
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

View file

@ -12,6 +12,7 @@ import (
"kitty/tools/cli"
"kitty/tools/tty"
"kitty/tools/tui"
"kitty/tools/tui/graphics"
"kitty/tools/tui/loop"
"kitty/tools/utils"
@ -308,6 +309,9 @@ func main(cmd *cli.Command, o *Options, args []string) (rc int, err error) {
lp.KillIfSignalled()
return
}
if opts.Hold {
tui.HoldTillEnter(false)
}
return 0, nil
}