Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command short keys should be emboldened to indicate shortcut. #7

Open
RyanGreenup opened this issue Jul 20, 2020 · 1 comment
Open
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@RyanGreenup
Copy link
Owner

No description provided.

@RyanGreenup RyanGreenup added enhancement New feature or request good first issue Good for newcomers labels Jul 20, 2020
@RyanGreenup
Copy link
Owner Author

I settled on underlining because it was more readable:

image

I'll leave this open because we should probably add these underlined shortcuts to other submenus.

If anybody wants to make a PR, this involves:

  1. underlining the help with \e[4m and \e[0m
  2. adding shortcuts, so for example this:
        ;;
    publish) shift; ...
    would become this:
       ;;
    publish|p) shift; ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant