set ANSI console window size?

Post Reply
tschak909
Well known member
Posts: 171
Joined: Sun Sep 09, 2018 5:44 pm

set ANSI console window size?

Post by tschak909 »

Is it possible to set the ANSI console window size (e.g. to block off the bottom three VDP rows so that a status bar can be put there?
-Thom
User avatar
dom
Well known member
Posts: 2072
Joined: Sun Jul 15, 2007 10:01 pm

Re: set ANSI console window size?

Post by dom »

There’s no way to do it at the moment either at runtime or link time.

However, I think with a few minor tweaks to the library reserving the bottom few lines should be possible at link time.
User avatar
dom
Well known member
Posts: 2072
Joined: Sun Jul 15, 2007 10:01 pm

Re: set ANSI console window size?

Post by dom »

It was a minor tweak, so if you now add -pragma-define:CONSOLE_ROWS=xxx then printing and scrolling will only take place within those rows.

Clearing the screen will still clear the whole screen.
tschak909
Well known member
Posts: 171
Joined: Sun Sep 09, 2018 5:44 pm

Re: set ANSI console window size?

Post by tschak909 »

*hug* :)
Post Reply