Some hacking.

This commit is contained in:
2025-07-23 16:59:51 -04:00
parent 619150cfe7
commit 6f321dfdcf
3 changed files with 32 additions and 8 deletions

View File

@ -1,5 +1,6 @@
. ~/cshenv/lib/vulgar.sh
save_block 11 1 15 32
erase_block 11 1 15 32
create_button Red 12 2 Red 1
@ -50,3 +51,5 @@ do
break
fi
done
restore_block 11 1 15 32
sleep 10

View File

@ -1,5 +1,23 @@
. ~/cshenv/lib/vulgar.sh
get_terminal_size rows cols
#get_terminal_size rows cols
echo "Terminal is ${rows} rows and ${cols} cols"
#echo "Terminal is ${rows} rows and ${cols} cols"
when=`date +"%F %R:%S"`
write_string "${when}" 1 120 107 35
while true
do
sleep 0.25
when=`date +"%R:%S"`
write_string "${when}" 1 131 107 35
#fill_block_attributes 1 90 1 115 47
#fill_block_attributes 1 90 1 115 35
#old=`stty -g`
#stty -echo #-icanon
#stty -echo #-icanon
#echo -n "7${when}8Q"
#stty ${old}
done