revert chatwait changes in sh and acme frontends

This commit is contained in:
Levi Neely 2026-05-08 12:45:05 +02:00
parent 6f83476f25
commit fb29487a1f
1 changed files with 14 additions and 1 deletions

View File

@ -277,7 +277,20 @@ done; exit 1'}
cat $S/statewait >/dev/null >[2]/dev/null
while(! is_idle) {
cat $S/chatwait
n=`{wc -c < $S/chat >[2]/dev/null}
if(~ $#n 0) n=0
if(test $n -gt $chat_off) {
tail -c +`{expr $chat_off + 1} $S/chat
chat_off=$n
}
sleep 0.05
}
n=`{wc -c < $S/chat >[2]/dev/null}
if(~ $#n 0) n=0
if(test $n -gt $chat_off) {
tail -c +`{expr $chat_off + 1} $S/chat
chat_off=$n
}
printf '\n'
}