Fix to cmdedit.c from Vladimir

This commit is contained in:
Eric Andersen 2001-03-19 17:48:55 +00:00
parent fa513aab48
commit 61173a5371
2 changed files with 2 additions and 0 deletions

View File

@ -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);

View File

@ -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);