mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 04:43:53 +00:00
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:
parent
bf859da2b2
commit
7da9aa9e49
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=4145
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue