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:
@@ -398,7 +398,7 @@ cmd_continue() {
|
||||
if [ -z "$session_name" ]; then
|
||||
session_name="$arg"
|
||||
else
|
||||
message="$arg"
|
||||
message="${message}${message:+ }${arg}"
|
||||
fi
|
||||
done
|
||||
|
||||
|
||||
Reference in New Issue
Block a user