diffplug / diffplug/dormouse

Better handling for incorrect characters typed in Command Mode

Abierto
#68 0 comentarios 0 reacciones 0 asignados Ver en GitHub
enhancement
Lenguaje dominante
TypeScript
Estrellas
5
Forks
0
Merge medio
14 h 13 min
PR fusionados (30 d)
199

Descripción

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:

```

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.