diff kitten: Abort when run inside a terminal that does not support the kitty keyboard protocol

Fixes #8185
This commit is contained in:
Kovid Goyal
2025-01-03 21:34:38 +05:30
parent fc463aaba5
commit 134271be93
4 changed files with 13 additions and 2 deletions

View File

@@ -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) {