mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-06 01:05:48 +02:00
fix warning from linter
This commit is contained in:
@@ -318,7 +318,7 @@ func (self *KeyEvent) MatchesCaseInsensitiveTextOrKey(spec string) bool {
|
||||
if self.MatchesParsedShortcut(ParseShortcut(spec), PRESS|REPEAT) {
|
||||
return true
|
||||
}
|
||||
return strings.ToLower(self.Text) == strings.ToLower(spec)
|
||||
return strings.EqualFold(self.Text, spec)
|
||||
}
|
||||
|
||||
func (self *KeyEvent) MatchesRelease(spec string) bool {
|
||||
|
||||
Reference in New Issue
Block a user