apps run slowly on weak systems when there's lots of mouse movement
gcla opened this issue · comments
For more information, see termshark issue gcla/termshark#61
The reason for this is that mouse movement inside a gowid app generates a large number of tcell mouse events, and currently, gowid applications process them all, in sequence. On complicated widget hierarchies, this can cause a backlog because of the relatively expensive render of the widget hierarchy. The result is a laggy UI until the backlog is cleared.