mirror of
https://github.com/troglobit/finit.git
synced 2026-10-17 10:49:34 +00:00
Follow-up to f858d94, only reinitialize screen when toggling debug mode
The screen_init() call for each print() & C:o caused serious screen
artefacts in debug mode. This patch reworks f858d94 to only re-init
screen when toggling debug.
Also, avoid screen_init() completely if started in debug mode.
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
ddf1bce642
commit
3d20237959
3 files changed
+13
-10
No files matched your search
+1
-1
@@ -303,7 +303,7 @@ int main(int argc, char* argv[])
|
||||
conf_parse_cmdline();
|
||||
|
||||
/* Set up canvas */
|
||||
if (!rescue)
|
||||
if (!rescue && !log_is_debug())
|
||||
screen_init();
|
||||
|
||||
/*
|
||||
|
||||
Reference in new issue
Block a user