From 7bae485ea4604f385c47c33c71cc138e399a4ba1 Mon Sep 17 00:00:00 2001 From: andersen Date: Mon, 19 Mar 2001 17:48:55 +0000 Subject: Fix to cmdedit.c from Vladimir git-svn-id: svn://busybox.net/trunk/busybox@2138 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- shell/cmdedit.c | 1 + 1 file changed, 1 insertion(+) (limited to 'shell') diff --git a/shell/cmdedit.c b/shell/cmdedit.c index 6dcc33844..ffe7afab2 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); -- cgit v1.2.3-55-g6feb