@more rest
#event {SCREEN RESIZE} {#math pageheight {%0 - 4};#send {@pagelength $pageheight};#send {@linelength %1};}
#screen get rows fullheight
#screen get cols width
#math height {$fullheight - 4}
#send {@pagelength $height}
#send {@linelength $width}
#split
Response: text/plain
| Original URL | gopher://thunix.net/0/~jeremylist/screensize.tt |
|---|---|
| Content-Type | text/plain; charset=utf-8 |