diff options
author | Eric Andersen | 2001-03-19 17:48:55 +0000 |
---|---|---|
committer | Eric Andersen | 2001-03-19 17:48:55 +0000 |
commit | 61173a537149484dfaaeb8f94a2c86ef01d30613 (patch) | |
tree | 88ad5e12a8cc9ee281257580e16024aae9a6f2d2 | |
parent | fa513aab48e9a1817658897bf69e4889f049a22a (diff) | |
download | busybox-61173a537149484dfaaeb8f94a2c86ef01d30613.zip busybox-61173a537149484dfaaeb8f94a2c86ef01d30613.tar.gz |
Fix to cmdedit.c from Vladimir
-rw-r--r-- | cmdedit.c | 1 | ||||
-rw-r--r-- | shell/cmdedit.c | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -580,6 +580,7 @@ static void cmdedit_setwidth(int w, int redraw_flg) extern void cmdedit_init(void) { + cmdedit_prmt_len = 0; if ((handlers_sets & SET_WCHG_HANDLERS) == 0) { /* emulate usage handler to set handler and call yours work */ win_changed(-SIGWINCH); diff --git a/shell/cmdedit.c b/shell/cmdedit.c index 6dcc338..ffe7afa 100644 --- a/shell/cmdedit.c +++ b/shell/cmdedit.c @@ -580,6 +580,7 @@ static void cmdedit_setwidth(int w, int redraw_flg) extern void cmdedit_init(void) { + cmdedit_prmt_len = 0; if ((handlers_sets & SET_WCHG_HANDLERS) == 0) { /* emulate usage handler to set handler and call yours work */ win_changed(-SIGWINCH); |