You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For some reason, I am unable to get my program to adjust to the terminal when it changes size. I know that the terminal is sending SIGWINCH because other ncurses programs are able to resize by themselves just fine.
Initially, I thought that refresh() by itself would be enough because the original c++ version of the program I am rewriting was able to use it alone. Continuing to look at the documentation, however, I noticed that resizeterm(0,0) is also supposed to refit the ncurses contents to the terminal window.
For some reason, I am unable to get my program to adjust to the terminal when it changes size. I know that the terminal is sending SIGWINCH because other ncurses programs are able to resize by themselves just fine.
Initially, I thought that refresh() by itself would be enough because the original c++ version of the program I am rewriting was able to use it alone. Continuing to look at the documentation, however, I noticed that resizeterm(0,0) is also supposed to refit the ncurses contents to the terminal window.
Code
The text was updated successfully, but these errors were encountered: