mirror of
https://github.com/IlanCosman/tide.git
synced 2024-12-18 01:21:33 +03:00
Minor edits
This commit is contained in:
parent
be227de5a7
commit
fdfea51e5a
@ -1,7 +1,7 @@
|
||||
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 leanRightPrompt " "$ltc$leanTimer$n" "
|
||||
set -l leanRightPrompt " "$ltc$leanTimer$norm" "
|
||||
echo $leanRightPrompt
|
||||
end
|
@ -225,9 +225,11 @@ end
|
||||
|
||||
function _menu --argument-names question options
|
||||
set -l optionList (string split "/" $options)
|
||||
|
||||
set -l bold (set_color -o)
|
||||
set -l norm (set_color normal)
|
||||
|
||||
while true
|
||||
read -P "$question [$options] " input
|
||||
read -P $bold"$question [$options] "$norm input
|
||||
|
||||
if contains $input $optionList
|
||||
echo $input
|
||||
|
Loading…
Reference in New Issue
Block a user