Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
screen: Add set_screen_resize() method.
Sets a callback to run on terminal resize. Implemented using OS SIGWINCH signal, and thus won't work in a general case (e.g. over a serial connection). Also, picotui stores absolute coordinates for each widget, so, to handle resizing, all dialogs, etc. should be recreated from scratch with new size.
- Loading branch information