diff options
| -rw-r--r-- | libbb/lineedit.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libbb/lineedit.c b/libbb/lineedit.c index 4cb9eba4b..a49149921 100644 --- a/libbb/lineedit.c +++ b/libbb/lineedit.c | |||
| @@ -465,6 +465,7 @@ static void input_backward(unsigned num) | |||
| 465 | 465 | ||
| 466 | if (cmdedit_x >= num) { | 466 | if (cmdedit_x >= num) { |
| 467 | cmdedit_x -= num; | 467 | cmdedit_x -= num; |
| 468 | #if !ENABLE_PLATFORM_MINGW32 | ||
| 468 | if (num <= 4) { | 469 | if (num <= 4) { |
| 469 | /* This is longer by 5 bytes on x86. | 470 | /* This is longer by 5 bytes on x86. |
| 470 | * Also gets miscompiled for ARM users | 471 | * Also gets miscompiled for ARM users |
| @@ -477,6 +478,7 @@ static void input_backward(unsigned num) | |||
| 477 | } while (--num); | 478 | } while (--num); |
| 478 | return; | 479 | return; |
| 479 | } | 480 | } |
| 481 | #endif | ||
| 480 | printf(ESC"[%uD", num); | 482 | printf(ESC"[%uD", num); |
| 481 | return; | 483 | return; |
| 482 | } | 484 | } |
