felangel / felangel/mason

[mason_logger] feat: add description of keys for chooseOne

Aperta
#815 0 commenti 2 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
Dart
Stelle
1.1k
Fork
113
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

**Description**

`mason_logger` is very useful. However, I think the `chooseOne` prompt doesn't seem to have an intuitive interaction. It would be nice if beneath the prompt a description is added to detail what keys are available to interact with the prompt.

Example image:

**Requirements**

- [ ] Provide context on the available keys to interact with `chooseOne`

**Additional Context**

My initial approach was to use W/S to go up and down and then used the arrow keys. After looking at the codebase it seems that J/K (mimicking Vim) is being used instead W/S. The same applies to the use of "SPACE" and "ENTER" in this type of logger.

We can't expect user of bricks to understand and look into the code to know how to interact with this type of prompts.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.