Resizing the console

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
oldefoxx
Enthusiast
Enthusiast
Posts: 532
Joined: Fri Jul 25, 2003 11:24 pm

Resizing the console

Post by oldefoxx »

When you open a console, it is sized at 80 characters by 25 lines, responds to foregound and background colors from 0 - 7, making it appear to be a standard screen within a windown.


Realizing that the console is there primarily for debugging and utility purposes, It is still interesting to note that the window can be resized manually, but that the number of characters and lines are still sized the
same - 80x25.

It just struck me as being a nice feature if instead of OpenConsole() requirieng no parameters, you could optionally set a size, such as (120,50) for the console. After all, displaying just 25 lines of data is not
a whole lot sometimes.
has-been wanna-be (You may not agree with what I say, but it will make you think).