RyanGreenup / cadmus

Shell Scripts to Facilitate Effective Note Taking
169 stars 7 forks source link

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

Open RyanGreenup opened 4 years ago

RyanGreenup commented 4 years ago

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