~ghost08/libphoton

eba352aba49d0265ad178c77123eddbed441e7d2 — Vladimír Magyar 1 year, 10 months ago ef15284
Fix modifiers
1 files changed, 5 insertions(+), 5 deletions(-)

M keybindings/modifiers.go
M keybindings/modifiers.go => keybindings/modifiers.go +5 -5
@@ 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, "|")
}