shithub: rc

ref: 4499f6c7c5683e60802d7a8b4bb77bb8aada510b
dir: /vtb/

View raw version
#!/bin/rc
# 2024-09-27T21:44:28-04:00
scr=(`{cat /dev/draw/new >[2]/dev/null})
w=$scr(11)
h=$scr(12)
switch($w){
case 28*
	font=/lib/font/contrib.bit/hugevga/unicode.font
case 21* 22* 25*
	font=/lib/font/bit/fixed/unicode.10x20.font
}
vt -2b -f $font