src/rtlib/dev_scrn_init.c
/* Update width/line_length after the screen was resized (can happen with
   console/terminal windows but also with graphics window) */
Update width/line_length after the screen was resized (can happen with
console/terminal windows but also with graphics window)
Update width / line_length after the screen was resized ( can happen with console / terminal windows but also with graphics window )
void fb_DevScrnUpdateWidth( void )
{
	int cols;
	fb_GetSize( &cols, NULL );
	FB_HANDLE_SCREEN->line_length = fb_GetX( ) - 1;
	FB_HANDLE_SCREEN->width = cols;
}
void fb_DevScrnUpdateWidth ( void ) { int cols ; fb_GetSize ( & cols , NULL ) ; FB_HANDLE_SCREEN -> line_length = fb_GetX ( ) - 1 ; FB_HANDLE_SCREEN -> width = cols ; }
Update width/line_length after the screen was resized (can happen with
console/terminal windows but also with graphics window)
Update width / line_length after the screen was resized ( can happen with console / terminal windows but also with graphics window )