Bring multi-select and custom X remover to TUI
This commit is contained in:
parent
7e2d266a9a
commit
0e88962e4f
@ -14,7 +14,7 @@ if [ "$#" -ne 1 ]; then
|
|||||||
if ((${#TUIS[@]})); then
|
if ((${#TUIS[@]})); then
|
||||||
IFS=$'\n' SORTED_TUIS=($(sort <<<"${TUIS[*]}"))
|
IFS=$'\n' SORTED_TUIS=($(sort <<<"${TUIS[*]}"))
|
||||||
unset IFS
|
unset IFS
|
||||||
APP_NAME=$(gum choose --header "Select TUI to remove..." "${SORTED_TUIS[@]}")
|
APP_NAME=$(gum choose --no-limit --header "Select TUI to remove..." --selected-prefix="✗ " "${SORTED_TUIS[@]}")
|
||||||
else
|
else
|
||||||
echo "No TUIs to remove."
|
echo "No TUIs to remove."
|
||||||
exit 1
|
exit 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user