Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to refit contents of root when terminal is resized #210

Open
papuSpartan opened this issue Jun 20, 2022 · 0 comments
Open

Unable to refit contents of root when terminal is resized #210

papuSpartan opened this issue Jun 20, 2022 · 0 comments

Comments

@papuSpartan
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant