Bring multi-select and custom X remover to TUI

This commit is contained in:
David Heinemeier Hansson 2025-08-26 09:14:14 +02:00
parent 7e2d266a9a
commit 0e88962e4f

View File

@ -14,7 +14,7 @@ if [ "$#" -ne 1 ]; then
if ((${#TUIS[@]})); then
IFS=$'\n' SORTED_TUIS=($(sort <<<"${TUIS[*]}"))
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
echo "No TUIs to remove."
exit 1