archinstall icon indicating copy to clipboard operation
archinstall copied to clipboard

SIGWINCH handler seems ineffective due to missing _component attribute

Open correctmost opened this issue 11 months ago • 1 comments

It seems like the resize_win call in the SIGWINCH handler can never be executed because the _component attribute has been removed:

https://github.com/archlinux/archinstall/blob/01f1cd314f7c1ea289d0dc292856f2138bf375a3/archinstall/tui/curses_menu.py#L1345-L1347

Removal of the _component attribute: https://github.com/archlinux/archinstall/commit/88b91ae201e083659b95a551218c807119c2f4d8#diff-32e4b81d763e09acf7f07a88088c1510826eec150ec7c21c13daca0cc7c8cc6eL1184

Pyright and Pylint both warn about the usage of _component.

correctmost avatar Mar 09 '25 06:03 correctmost

Yes this was code I had started but never finished...

svartkanin avatar Mar 09 '25 08:03 svartkanin