diff --git a/input/kitty.go b/input/kitty.go index 22920f35..f2e390ef 100644 --- a/input/kitty.go +++ b/input/kitty.go @@ -27,7 +27,7 @@ func (e KittyKeyboardEvent) IsReportAlternateKeys() bool { // IsReportAllKeys returns true if the ReportAllKeys flag is set. func (e KittyKeyboardEvent) IsReportAllKeys() bool { - return e&ansi.KittyReportAllKeys != 0 + return e&ansi.KittyReportAllKeysAsEscapeCodes != 0 } // IsReportAssociatedKeys returns true if the ReportAssociatedKeys flag is set.