shithub: rc

ref: ea1d46a06f491b08857d83829102b0df4cbe56bc
dir: /vtb/

View raw version
#!/bin/rc
# 2026-01-16T23:16:49-05:00
rfork e
scr=(`{cat /dev/draw/new >[2]/dev/null})
w=$scr(11)
h=$scr(12)
switch($h){
case 2*
	font=/lib/font/contrib.bit/hugevga/unicode.font
case 14* 15*
	#font=/lib/font/bit/pelm/unicode.12.font
	font=/lib/font/bit/fixed/unicode.10x20.font
case *
	font=/lib/font/bit/fixed/unicode.9x15.font
}
vt -2b -f $font