aboutsummaryrefslogtreecommitdiff
path: root/miscutils/fbsplash.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-05-16 23:42:13 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2010-05-16 23:42:13 +0200
commitd9a3e89f501800c3e7c779b7e9545a5c80134593 (patch)
treeba3b65ce2d512542a27e78f4820d799008bc0b4c /miscutils/fbsplash.c
parent26e2c1db0df35df1affa558efc12d2bcfd7718e2 (diff)
downloadbusybox-w32-d9a3e89f501800c3e7c779b7e9545a5c80134593.tar.gz
busybox-w32-d9a3e89f501800c3e7c779b7e9545a5c80134593.tar.bz2
busybox-w32-d9a3e89f501800c3e7c779b7e9545a5c80134593.zip
consolidate ESC sequences
function old new delta bell 2 - -2 CMdown 2 - -2 Ceos 4 - -4 Ceol 4 - -4 CMup 4 - -4 SOs 5 - -5 SOn 5 - -5 CMrc 9 - -9 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'miscutils/fbsplash.c')
-rw-r--r--miscutils/fbsplash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/miscutils/fbsplash.c b/miscutils/fbsplash.c
index 5974006bb..e370d207b 100644
--- a/miscutils/fbsplash.c
+++ b/miscutils/fbsplash.c
@@ -359,7 +359,7 @@ int fbsplash_main(int argc UNUSED_PARAM, char **argv)
359 359
360 if (fifo_filename && bCursorOff) { 360 if (fifo_filename && bCursorOff) {
361 // hide cursor (BEFORE any fb ops) 361 // hide cursor (BEFORE any fb ops)
362 full_write(STDOUT_FILENO, "\x1b" "[?25l", 6); 362 full_write(STDOUT_FILENO, "\033[?25l", 6);
363 } 363 }
364 364
365 fb_drawimage(); 365 fb_drawimage();
@@ -404,7 +404,7 @@ int fbsplash_main(int argc UNUSED_PARAM, char **argv)
404 } 404 }
405 405
406 if (bCursorOff) // restore cursor 406 if (bCursorOff) // restore cursor
407 full_write(STDOUT_FILENO, "\x1b" "[?25h", 6); 407 full_write(STDOUT_FILENO, "\033[?25h", 6);
408 408
409 return EXIT_SUCCESS; 409 return EXIT_SUCCESS;
410} 410}