mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-10-20 20:22:10 +00:00
...
This commit is contained in:
parent
708267d229
commit
912aa17594
1 changed files with 2 additions and 1 deletions
|
|
@ -11,6 +11,7 @@ import (
|
|||
"strings"
|
||||
|
||||
"golang.org/x/exp/maps"
|
||||
"golang.org/x/exp/slices"
|
||||
)
|
||||
|
||||
var _ = fmt.Print
|
||||
|
|
@ -229,7 +230,7 @@ func NormalizeShortcut(spec string) string {
|
|||
}
|
||||
return ans
|
||||
}, mods)
|
||||
utils.Sort(mods, func(a, b string) bool { return a < b })
|
||||
slices.Sort(mods)
|
||||
return strings.Join(mods, "+") + "+" + key
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue