Minor edits

This commit is contained in:
Ilan Cosman 2020-04-21 20:25:40 -07:00
parent be227de5a7
commit fdfea51e5a
2 changed files with 6 additions and 4 deletions

View File

@ -1,7 +1,7 @@
function lean_right_prompt function lean_right_prompt
set -l n (set_color normal) set -l norm (set_color normal)
set -l ltc (set_color $lean_timer_color) set -l ltc (set_color $lean_timer_color)
set -l leanRightPrompt " "$ltc$leanTimer$n" " set -l leanRightPrompt " "$ltc$leanTimer$norm" "
echo $leanRightPrompt echo $leanRightPrompt
end end

View File

@ -225,9 +225,11 @@ end
function _menu --argument-names question options function _menu --argument-names question options
set -l optionList (string split "/" $options) set -l optionList (string split "/" $options)
set -l bold (set_color -o)
set -l norm (set_color normal)
while true while true
read -P "$question [$options] " input read -P $bold"$question [$options] "$norm input
if contains $input $optionList if contains $input $optionList
echo $input echo $input