Updated curses and svgalib drivers:
* Now supports the use of the new "daemonize" variable in the lcd_logical_driver structure: permits output drivers to specify whether becoming a daemon is logical or not... if not, run in foreground...
This commit is contained in:
@@ -182,6 +182,8 @@ curses_drv_init (struct lcd_logical_driver *driver, char *args)
|
||||
|
||||
curses_drv_clear ();
|
||||
|
||||
driver->daemonize = 0; // don't daemonize...
|
||||
|
||||
// Override output functions...
|
||||
driver->clear = curses_drv_clear;
|
||||
driver->string = curses_drv_string;
|
||||
|
||||
@@ -277,6 +277,8 @@ svgalib_drv_init (struct lcd_logical_driver *driver, char *args)
|
||||
|
||||
gl_clearscreen (gl_rgbcolor (0, 0, 0));
|
||||
|
||||
driver->daemonize = 0; // don't daemonize...
|
||||
|
||||
// Override output functions...
|
||||
driver->clear = svgalib_drv_clear;
|
||||
driver->string = svgalib_drv_string;
|
||||
|
||||
Reference in New Issue
Block a user