Re: video_config() Returning Wrong Information

new topic     » goto parent     » topic index » view thread      » older message » newer message
euphoric said...

I'm running Windows XP Professional SP3. This program should be printing 25 but is printing 300 for me.

include std/graphics.e 
include std/console.e 
 
sequence screen 
 
screen = video_config() 
 
?screen[VC_LINES] 
 
wait_key() 

What is being shown is the number of lines in the console buffer. This is intended.

Are you expecting to see the number of lines in the current console window size instead?

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu