This commit is contained in:
2026-10-13 12:02:01 +02:00
parent daa2ee755c
commit f931db0808
11 changed files with 117 additions and 34 deletions
+1 -1
View File
@@ -176,7 +176,7 @@ disp()
local _c=${message:_i:1}
_i=$(( _i + 1 ))
line+=$_c
(( line_vis++ ))
(( ++line_vis ))
[[ $_c == ' ' ]] && last_space=${#line}
if (( line_vis > width )); then
if (( last_space > 0 )); then