Unable to distinguish between resize events and others
Author: tscott0Created May 16, 2017Updated Sep 22, 2023
Labelswipenhancementblocked
Firstly, I'm a huge fan of gocui!
I'm very likely missing something but I can't find a way to detect a resize event.
I can put resize code in my ManagerFunc (Layout) but that will be executed for every iteration of the main loop and for every event, including keypresses.
Ideally I would be able to bind a function to resize events in a similar way to SetKeybinding. This could function in a similar way, allowing the calling code to specify a view by name, passing the View to the handler function.
Many thanks, Tom
Source: jroimartin/gocui