mirror of
https://github.com/db9979/sshtermy.git
synced 2026-12-06 12:44:08 +01:00
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:
30 files changed
+2016
-94
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user