shithub: rc

ref: c1a707427fbbb5129e467516fc671e976ee3e398
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