mirror of
https://github.com/IlanCosman/tide.git
synced 2024-12-18 09:32:18 +03:00
Minor edits
This commit is contained in:
parent
be227de5a7
commit
fdfea51e5a
@ -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
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user