[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Sun, 21 Dec 2008 14:09:36 +0200
Hi, i need your help in some issue.
i'm trying to work in curses mode and i have problem with resizing (minimizing) a window of a terminal.
my signal handler function is :
void sig_winch(int signo)
struct winsize size;
ioctl(fileno(stdout), TIOCGWINSZ, (char*)&size);
after getting the signal SIGWINCH( when i'm minimizing the window) i see the output on the window is ok, and when i try to print with printw() or addstr() i see the half of the window is deleted. How i can to solve this problem.
Thank you for your time
- SIGWINCH problem,
maxim maxim <=