diffplug / diffplug/dormouse

Better handling for incorrect characters typed in Command Mode

Offen
#68 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement
Vorherrschende Sprache
TypeScript
Sterne
5
Forks
0
Ø Merge
14 Std. 13 Min.
Gemergte PRs (30 T.)
199

Beschreibung

Story:
- user is in command mode
- user attempts to type into the terminal
- probably the first character isn't a shortcut, but pretty quick they stumble into one, and a surprising shortcut action takes place
- all the destructive ones have confirm screens, so little risk of a big problem, but it's not great

Possible better answer:
- when a wrong character is typed, a modal pops up

```
That's not a shortcut!
Press [Enter] if you meant to type into the terminal in PASSTHROUGH mode
Press [Esc] to return to COMMAND mode

Recognized shortcuts are:

```

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.