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

Scheduler: Handle SIGWINCH for JobStatusDisplay #1402

Merged

Conversation

zmedico
Copy link
Member

@zmedico zmedico commented Dec 7, 2024

Do not use curses in the get_term_size function, since curses caches the terminal width and does not account for resize.

Bug: https://bugs.gentoo.org/945382

@zmedico zmedico force-pushed the bug_945382_JobStatusDisply_sigwinch branch from 102b725 to 6d4a0b1 Compare December 8, 2024 19:06
lib/portage/output.py Outdated Show resolved Hide resolved
@zmedico zmedico requested a review from Flowdalic December 10, 2024 01:17
@zmedico zmedico force-pushed the bug_945382_JobStatusDisply_sigwinch branch 2 times, most recently from 04712f5 to 6c6c813 Compare December 11, 2024 22:25
@zmedico zmedico requested a review from Flowdalic December 11, 2024 22:29
@zmedico zmedico force-pushed the bug_945382_JobStatusDisply_sigwinch branch 2 times, most recently from d99553a to cca5fff Compare December 28, 2024 01:58
Do not use curses in the get_term_size function, since curses caches
the terminal width and does not account for resize.

Bug: https://bugs.gentoo.org/945382
Signed-off-by: Zac Medico <zmedico@gentoo.org>
@zmedico zmedico force-pushed the bug_945382_JobStatusDisply_sigwinch branch from cca5fff to 3e3bb8e Compare December 28, 2024 02:05
@gentoo-bot gentoo-bot merged commit 3e3bb8e into gentoo:master Dec 28, 2024
7 checks passed
@zmedico zmedico deleted the bug_945382_JobStatusDisply_sigwinch branch December 28, 2024 03:06
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

Successfully merging this pull request may close these issues.

3 participants