diff options
-rw-r--r-- | libbb/lineedit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libbb/lineedit.c b/libbb/lineedit.c index f7d3ffed8..18664b8c1 100644 --- a/libbb/lineedit.c +++ b/libbb/lineedit.c | |||
@@ -498,8 +498,8 @@ static void input_backward(unsigned num) | |||
498 | /* go to 1st column; go up */ | 498 | /* go to 1st column; go up */ |
499 | printf("\r" "\033[%uA", lines_up); | 499 | printf("\r" "\033[%uA", lines_up); |
500 | /* go to correct column. | 500 | /* go to correct column. |
501 | * xtarm, konsole, Linux VT interpret 0 as 1 below! wow. | 501 | * xterm, konsole, Linux VT interpret 0 as 1 below! wow. |
502 | * Need to *make sure* we skip it if cmdedit_x == 0 */ | 502 | * need to *make sure* we skip it if cmdedit_x == 0 */ |
503 | if (cmdedit_x) | 503 | if (cmdedit_x) |
504 | printf("\033[%uC", cmdedit_x); | 504 | printf("\033[%uC", cmdedit_x); |
505 | } | 505 | } |