mirror of
https://github.com/flatpak/flatpak.git
synced 2026-10-08 06:00:38 -04:00
console: Drop newline on glnx_console_lock
This was inherited from some other code; perhaps the idea was to ensure the console is in a consistent state before starting a progress bar, but it causes extra newlines which is distracting.
This commit is contained in:
1 parent
03e16afa7f
commit
97b5c08d2f
1 file changed
+1
-1
+1
-1
@@ -168,7 +168,7 @@ glnx_console_lock (GLnxConsoleRef *console)
|
||||
g_once_init_leave (&sigwinch_initialized, 1);
|
||||
}
|
||||
|
||||
{ static const char initbuf[] = { '\n', 0x1B, 0x37 };
|
||||
{ static const char initbuf[] = { 0x1B, 0x37 };
|
||||
(void) fwrite (initbuf, 1, sizeof (initbuf), stdout);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user