fixed spellcheck and minor issues for release

This commit is contained in:
2026-10-13 17:49:03 +02:00
parent 8221ac5325
commit ea1a8a7a7e
25 changed files with 74 additions and 205 deletions
+3 -1
View File
@@ -35,6 +35,7 @@
# ------------------------------------------------------------------------------
# Common helpers (helpers/common.sh)
# shellcheck source=../helpers/common.sh
declare -F _profile_load_helpers >/dev/null || . "$(dirname -- "${BASH_SOURCE[0]}")/../helpers/common.sh"
load_conf disp
@@ -187,7 +188,8 @@ disp()
# Only a real ESC or a literal backslash can start an ANSI sequence;
# testing this first avoids copying the message tail (and running
# the regex) for every ordinary character.
if [[ $_c == $'\e' || $_c == '\' ]]; then
# shellcheck disable=SC1003 # a literal backslash
if [[ $_c == $'\e' || $_c == '\' ]]; then
local _sub=${message:_i}
if [[ $_sub =~ ^($ansi_re) ]]; then
line+=${BASH_REMATCH[0]}