qulogic/libgnt

Tweak the box-resizing a bit.

2010-04-02, Sadrul Habib Chowdhury
e2e041e8e37d
Tweak the box-resizing a bit.

This change should make the widgets inside a window resize a bit more
predictably. Still not perfect, but better than before.
#include <ncurses.h>
int main()
{
int ch;
initscr();
noecho();
cbreak();
refresh();
WINDOW *win = newpad(20, 30);
box(win, 0, 0);
prefresh(win, 0, 0, 0, 0, 19, 29);
doupdate();
while ((ch = getch())) {
printw("%d ", ch);
refresh();
}
endwin();
return 0;
}