mirror of
https://github.com/troglobit/finit.git
synced 2026-11-11 16:40:48 +00:00
Clear screen in silent mode
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
3c67a10347
commit
2dc9daf118
1 file changed
+3
-2
@@ -76,8 +76,9 @@ static void stty(int fd, speed_t speed)
|
|||||||
|
|
||||||
tcflush(fd, TCIOFLUSH);
|
tcflush(fd, TCIOFLUSH);
|
||||||
|
|
||||||
/* Clear screen -- disabled until we decide on config to disable/enable */
|
/* Clear screen in silent mode */
|
||||||
//print("\033[r\033[H\033[J");
|
if (silent)
|
||||||
|
print("\033[r\033[H\033[J");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user