Skip to content

Commit 2c9fb65

Browse files
committed
Minor bugfixes in 'gum' mode
1 parent 34b84c2 commit 2c9fb65

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

lib/easybashgui.lib

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1443,7 +1443,8 @@ elif [ "${mode}" = "gum" ]
14431443
#
14441444
frame "${widget_color}" "please confirm"
14451445
#
1446-
if [ "${which_terminal}" = "mate-terminal" -o "${which_terminal}" = "qterminal" -o "${which_terminal}" = "lxterminal" ]
1446+
[[ ${which_terminal} == "gnome-terminal"* ]] && which_terminal="gnome-terminal"
1447+
if [ "${which_terminal}" = "gnome-terminal" -o "${which_terminal}" = "mate-terminal" -o "${which_terminal}" = "qterminal" -o "${which_terminal}" = "konsole" ]
14471448
then
14481449
#
14491450
gum confirm --affirmative="Ok" --negative="Cancel" "$(echo -e "${testo}" )"

0 commit comments

Comments
 (0)