@@ 30,19 30,19 @@ func (m Modifiers) Contain(m2 Modifiers) bool {
func (m Modifiers) String() string {
var strs []string
if m.Contain(ModCtrl) {
- strs = append(strs, "ModCtrl")
+ strs = append(strs, "<ctrl>")
}
if m.Contain(ModCommand) {
- strs = append(strs, "ModCommand")
+ strs = append(strs, "<command>")
}
if m.Contain(ModShift) {
- strs = append(strs, "ModShift")
+ strs = append(strs, "<shift>")
}
if m.Contain(ModAlt) {
- strs = append(strs, "ModAlt")
+ strs = append(strs, "<alt>")
}
if m.Contain(ModSuper) {
- strs = append(strs, "ModSuper")
+ strs = append(strs, "<super>")
}
return strings.Join(strs, "|")
}