fix: accumulate message words instead of overwriting in cmd_continue

The for loop was overwriting message each iteration, causing only
the last word to survive. Changed to accumulate all words with
proper spacing.

Fixes #225
This commit is contained in:
shokollm
2026-04-07 13:55:47 +00:00
parent 2beb3adb14
commit 2800e140ac

View File

@@ -398,7 +398,7 @@ cmd_continue() {
if [ -z "$session_name" ]; then
session_name="$arg"
else
message="$arg"
message="${message}${message:+ }${arg}"
fi
done