Fixed a ghastly mistake. Edit_line() would "delwin(window)". Bad move

buddy, you'd better not call with stdwin then!   fixed now.
Seems like dialog is a LOT more rational now.
This commit is contained in:
Poul-Henning Kamp 1994-11-05 03:13:33 +00:00
parent bf859da2b2
commit 7da9aa9e49
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=4145

View File

@ -152,10 +152,8 @@ edit_line(WINDOW *window, int y, int x, char *field, int width, int maxlen)
else
waddch(window, ' ');
wmove(window, y, x + curpos);
wrefresh(window);
field[len] = 0;
delwin(window);
refresh();
wrefresh(window);
return (key);
}