shithub: rc

ref: 36c2644cb59ed212520bccaf4dc96f80e0acce6d
dir: /vtb/

View raw version
#!/bin/rc
# 2026-04-01T00:05:47-04: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 15* 14*
	font=/lib/font/contrib.bit/gallant/unicode.22.font
case 1080
	font=/lib/font/bit/fixed/unicode.10x20.font
case *
	font=/lib/font/bit/fixed/unicode.9x15.font
}
vt -2b -f $font