mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-18 14:34:52 +02:00
diff kitten: Abort when run inside a terminal that does not support the kitty keyboard protocol
Fixes #8185
This commit is contained in:
@@ -117,7 +117,7 @@ type Loop struct {
|
||||
OnSIGTERM func() (bool, error)
|
||||
|
||||
// Called when capabilities response is received
|
||||
OnCapabilitiesReceived func(TerminalCapabilities)
|
||||
OnCapabilitiesReceived func(TerminalCapabilities) error
|
||||
}
|
||||
|
||||
func New(options ...func(self *Loop)) (*Loop, error) {
|
||||
|
||||
Reference in New Issue
Block a user