main eingearbeitet: Schnellbefehle und Spickzettel als frei belegbare Tasten

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018i4GUjUNGmakK3fVPSY2i2
This commit is contained in:
Claude committed 2026-11-05 11:54:36 +00:00
commit e12a7ad2df
30 files changed
+2016 -94

No files matched your search

+5
View File
@@ -10,6 +10,11 @@ import (
)
func TestQuickIndex(t *testing.T) {
a := &App{keys: newKeymap(nil)}
quickIndex := a.quickIndex
if l := a.quickLabel(0); l != "⇧F1" {
t.Errorf("Anzeige %q, erwartet ⇧F1", l)
}
cases := map[string]int{"shift+f1": 0, "shift+f8": 7, "f13": 0, "f20": 7}
for k, want := range cases {
if i, ok := quickIndex(k); !ok || i != want {