FreeBASIC  0.91.0
io_maxrow.c
Go to the documentation of this file.
1 #include "../fb.h"
2 #include "fb_private_console.h"
3 
4 int fb_ConsoleGetMaxRow( void )
5 {
6  COORD max = GetLargestConsoleWindowSize( __fb_out_handle );
7  return (max.Y == 0) ? FB_SCRN_DEFAULT_HEIGHT : max.Y + 1;
8 }