diffplug / diffplug/dormouse

Better handling for incorrect characters typed in Command Mode

Open
#68 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
5
Forks
0
Avg merge
13h 46m
Merged PRs (30d)
205

Description

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:

```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.