diff options
author | Colin Walters <walters@verbum.org> | 2018-05-08 14:40:12 -0700 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2018-05-08 14:40:12 -0700 |
commit | 97b5c08d2f93dc93ba296a84bbd2a5ab9bd8fc97 (patch) | |
tree | 8bdc410d40ece4937e8ea15e18cd5cb99fc91c39 | |
parent | 03e16afa7f2cf7ce517b604035683fa0409f730c (diff) | |
download | libglnx-97b5c08d2f93dc93ba296a84bbd2a5ab9bd8fc97.tar.gz |
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.
-rw-r--r-- | glnx-console.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/glnx-console.c b/glnx-console.c index 8813074..c2fe29d 100644 --- a/glnx-console.c +++ b/glnx-console.c @@ -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); } } |