aboutsummaryrefslogtreecommitdiff
path: root/editors/vi.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-12-30 01:59:53 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-12-30 01:59:53 +0000
commitd3c042fc605737643c265a7f86fc7a77c88f629e (patch)
treea1850a3ca6493fb6409e8df0a24baf1331d325f6 /editors/vi.c
parentfcd878efcd6df8a8d052cef753305c34c1297267 (diff)
downloadbusybox-w32-d3c042fc605737643c265a7f86fc7a77c88f629e.tar.gz
busybox-w32-d3c042fc605737643c265a7f86fc7a77c88f629e.tar.bz2
busybox-w32-d3c042fc605737643c265a7f86fc7a77c88f629e.zip
libbb: introduce fputc_printable (from ed)
netstat: print control chars as ^C etc vi: style fixlet function old new delta fputc_printable - 100 +100 unix_do_one 451 487 +36 printLines 258 190 -68 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 1/1 up/down: 136/-68) Total: 68 bytes
Diffstat (limited to 'editors/vi.c')
-rw-r--r--editors/vi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/vi.c b/editors/vi.c
index b6d4dcf0d..d8492fe74 100644
--- a/editors/vi.c
+++ b/editors/vi.c
@@ -899,7 +899,7 @@ static void colon(char *buf)
899 if (c_is_no_print) { 899 if (c_is_no_print) {
900 c = '.'; 900 c = '.';
901 standout_start(); 901 standout_start();
902 } 902 }
903 if (c == '\n') { 903 if (c == '\n') {
904 write1("$\r"); 904 write1("$\r");
905 } else if (c < ' ' || c == 127) { 905 } else if (c < ' ' || c == 127) {