mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-05-13 16:37:27 +00:00
fix warning from linter
This commit is contained in:
parent
4e2aa7d151
commit
fee4cb0975
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue