We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3d9b6e commit 702a606Copy full SHA for 702a606
src/helpers.c
@@ -89,6 +89,9 @@ void console_init(void)
89
/* Reset attributes, background and foreground color */
90
dprint(STDOUT_FILENO, "\033[49m\033[39m\e[2J", 14);
91
92
+ /* Hide cursor while we boot up. */
93
+ dprint(STDOUT_FILENO, "\033[?25l", 6);
94
+
95
log_init();
96
}
97
src/sm.c
@@ -361,6 +361,9 @@ void sm_step(void)
361
362
/* Restore terse mode and run hooks before shutdown */
363
if (runlevel == 0 || runlevel == 6) {
364
+ /* Hide cursor, we're going down ... */
365
+ dprint(STDOUT_FILENO, "\033[?25l", 14);
366
367
api_exit();
368
log_exit();
369
plugin_run_hooks(HOOK_SHUTDOWN);
0 commit comments