Ncurses and Resizing window
问题 I tried to enter text at the bottom of window and print it on the top. I did this. But when I resize the window, cursor is attached to the bottom of the window and when I type the text, symbols do not echo on the screen. How fix it? Sorry for my English. my code: #include <stdio.h> #include <stdlib.h> #include <string.h> #include <ncurses.h> #include <termios.h> #include <sys/ioctl.h> #include <signal.h> WINDOW* txt_win; WINDOW* msg_win; void sig_winch(int in) { struct winsize size; ioctl