diff options
Diffstat (limited to 'libbb/lineedit.c')
-rw-r--r-- | libbb/lineedit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/lineedit.c b/libbb/lineedit.c index 72a1786..bc089ab 100644 --- a/libbb/lineedit.c +++ b/libbb/lineedit.c @@ -466,7 +466,7 @@ static void input_backward(unsigned num) cmdedit_x = w * count_y - num; } /* go to 1st column; go up; go to correct column */ - printf("\r" "\033[%dA" "\033[%dC", count_y, cmdedit_x); + printf("\r" "\033[%uA" "\033[%uC", count_y, cmdedit_x); } static void put_prompt(void) |