Add "L" command and fix "w".

This commit is contained in:
bʰedoh₂ swé 2025-01-12 04:04:30 +05:00
parent 8e3887d96c
commit 66eb152cfc

View File

@ -94,6 +94,9 @@ while :; do
read a
send_message 0"${nick}${a}"
;;
L)
length="$(get_message 1)"
;;
l)
echo "${length}"
;;
@ -101,7 +104,7 @@ while :; do
oldlength="${length}"
while :; do
length="$(get_message 1)"
if [ "${oldlength}" -lt "${length}" ]; then
if [ "${oldlength}" -ne "${length}" ]; then
break
fi
echo -n .