aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libbb/lineedit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbb/lineedit.c b/libbb/lineedit.c
index 04361b509..9f96d4a0b 100644
--- a/libbb/lineedit.c
+++ b/libbb/lineedit.c
@@ -110,7 +110,7 @@ static bool BB_ispunct(CHAR_T c) { return ((unsigned)c < 256 && ispunct(c)); }
110#define ESC "\033" 110#define ESC "\033"
111 111
112#define SEQ_CLEAR_TILL_END_OF_SCREEN ESC"[J" 112#define SEQ_CLEAR_TILL_END_OF_SCREEN ESC"[J"
113//#define SEQ_CLEAR_TILL_END_OF_LINE ESC"[K" 113#define SEQ_CLEAR_TILL_END_OF_LINE ESC"[K"
114 114
115 115
116enum { 116enum {
@@ -611,7 +611,7 @@ static void input_delete(int save)
611 command_len--; 611 command_len--;
612 put_till_end_and_adv_cursor(); 612 put_till_end_and_adv_cursor();
613 /* Last char is still visible, erase it (and more) */ 613 /* Last char is still visible, erase it (and more) */
614 printf(SEQ_CLEAR_TILL_END_OF_SCREEN); 614 printf(SEQ_CLEAR_TILL_END_OF_LINE);
615 input_backward(cursor - j); /* back to old pos cursor */ 615 input_backward(cursor - j); /* back to old pos cursor */
616} 616}
617 617