Size of console window
[1/3] from: maillist::peter::home::se at: 2-Feb-2009 17:48
Hello!
Is it in REBOL/Core possible to resolve the size of the
console window (width in number of characters and
height in number of lines)? Is it stored somewhere in
the system tree?
Best regards,
Peter Carlsson
[2/3] from: btiffin::rogers::com at: 2-Feb-2009 22:57
Yes;
http://rebol.com/docs/core23/rebolcore-18.html#section-5.2
To see how I did it for the pager.r script
http://www.rebol.org/view-script.r?script=pager.rand look for the
;; get terminal size
comment a few screens down from the top.
Cheers,
Brian
On February 2, 2009 11:48:39 am Peter Carlsson wrote:
[3/3] from: maillist::peter::home::se at: 3-Feb-2009 7:19
On Mon, Feb 02, 2009 at 10:57:12PM -0500, Brian Tiffin wrote:
Perfect!
Thanks Brian!