show-status: add newline to ephemeral messages

Fixes #6712.  The newline is later reversed, naturally.
This commit is contained in:
Tomsod M
2018-07-06 16:35:22 +02:00
committed by Zbigniew Jędrzejewski-Szmek
parent 1448dfa6bf
commit 8255430754
2 changed files with 10 additions and 5 deletions
+3
View File
@@ -50,6 +50,9 @@
/* Erase characters until the end of the line */
#define ANSI_ERASE_TO_END_OF_LINE "\x1B[K"
/* Move cursor up one line */
#define ANSI_REVERSE_LINEFEED "\x1BM"
/* Set cursor to top left corner and clear screen */
#define ANSI_HOME_CLEAR "\x1B[H\x1B[2J"