diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-05-16 23:42:13 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-05-16 23:42:13 +0200 |
commit | d9a3e89f501800c3e7c779b7e9545a5c80134593 (patch) | |
tree | ba3b65ce2d512542a27e78f4820d799008bc0b4c /miscutils/less.c | |
parent | 26e2c1db0df35df1affa558efc12d2bcfd7718e2 (diff) | |
download | busybox-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/less.c')
-rw-r--r-- | miscutils/less.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/miscutils/less.c b/miscutils/less.c index e4f8ab979..848266212 100644 --- a/miscutils/less.c +++ b/miscutils/less.c | |||
@@ -29,11 +29,11 @@ | |||
29 | #endif | 29 | #endif |
30 | 30 | ||
31 | /* The escape codes for highlighted and normal text */ | 31 | /* The escape codes for highlighted and normal text */ |
32 | #define HIGHLIGHT "\033[7m" | 32 | #define HIGHLIGHT "\033[7m" |
33 | #define NORMAL "\033[0m" | 33 | #define NORMAL "\033[0m" |
34 | /* The escape code to clear the screen */ | 34 | /* The escape code to home and clear to the end of screen */ |
35 | #define CLEAR "\033[H\033[J" | 35 | #define CLEAR "\033[H\033[J" |
36 | /* The escape code to clear to end of line */ | 36 | /* The escape code to clear to the end of line */ |
37 | #define CLEAR_2_EOL "\033[K" | 37 | #define CLEAR_2_EOL "\033[K" |
38 | 38 | ||
39 | enum { | 39 | enum { |