felangel / felangel/mason

[mason_logger] feat: add description of keys for chooseOne

オープン
#815 コメント 0 件 リアクション 2 件 担当者 0 名 GitHub で見る
enhancement
主要言語
Dart
スター
1.1k
フォーク
113
PR マージ指標
30日以内にマージされた PR はありません

説明

**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.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。