From b964f1566a9316c1e56e75037f98a54ebaffdfa6 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Sun, 7 Dec 2025 01:55:52 -0500 Subject: [PATCH] Fix display issue with mode help. --- scripts/i38-help-panel.sh | 2 +- scripts/i38-help-rp.sh | 2 +- scripts/i38-help.sh | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/i38-help-panel.sh b/scripts/i38-help-panel.sh index 98d5f54..26e34e7 100755 --- a/scripts/i38-help-panel.sh +++ b/scripts/i38-help-panel.sh @@ -38,6 +38,6 @@ done header="Panel Mode Keybindings\n\nPress Control+Alt+Tab to enter panel mode, then use these shortcuts:\n\n" helpText=("$header" "${helpText[@]}" "End of panel mode help. Press Control+Home to jump to the beginning.") -echo "${helpText[@]}" | yad --text-info --show-cursor --title "I38 - Panel Mode Help" --button "Close:0" --listen +echo -e "${helpText[@]}" | yad --text-info --show-cursor --title "I38 - Panel Mode Help" --button "Close:0" --listen exit 0 diff --git a/scripts/i38-help-rp.sh b/scripts/i38-help-rp.sh index b847949..13cc717 100755 --- a/scripts/i38-help-rp.sh +++ b/scripts/i38-help-rp.sh @@ -40,6 +40,6 @@ done header="Ratpoison Mode Keybindings\n\nEnter ratpoison mode with your configured escape key, then use these shortcuts:\n\n" helpText=("$header" "${helpText[@]}" "End of ratpoison mode help. Press Control+Home to jump to the beginning.") -echo "${helpText[@]}" | yad --text-info --show-cursor --title "I38 - Ratpoison Mode Help" --button "Close:0" --listen +echo -e "${helpText[@]}" | yad --text-info --show-cursor --title "I38 - Ratpoison Mode Help" --button "Close:0" --listen exit 0 diff --git a/scripts/i38-help.sh b/scripts/i38-help.sh index d368ff6..2976869 100755 --- a/scripts/i38-help.sh +++ b/scripts/i38-help.sh @@ -11,7 +11,7 @@ # You should have received a copy of the GNU General Public License along with I38. If not, see . -configPath="$(readlink -f $0)" +configPath="$(readlink -f "$0")" configPath="${configPath%/*/*}" if [[ -f "${configPath}/config" ]]; then @@ -37,6 +37,6 @@ for i in "${!helpText[@]}" ; do helpText[$i]="${helpText[$i]/, exec spd-say*/$'\n'}" done helpText+=("End of text. Please press Control+Home to jump to the beginning of this document.") -echo "${helpText[@]}" | yad --text-info --show-cursor --title "I38 help" --button "Close:0" --listen +echo -e "${helpText[@]}" | yad --text-info --show-cursor --title "I38 help" --button "Close:0" --listen exit 0