SetScroll triggers OnPluginDrawOutputWindow even if nothing changes

Posted by Fiendish on Fri 03 Jan 2020 07:27 PM — 3 posts, 12,988 views.

USA Global Moderator #0
Trivial example: Calling SetScroll(-2, GetInfo(120)) inside OnPluginDrawOutputWindow will cause an infinite loop.

The performance impact of using `false` instead of `true` for visibility is much higher. Probably because of https://mushclient.com/forum/?id=14581&page=999
Amended on Sat 04 Jan 2020 09:41 AM by Fiendish
USA Global Moderator #1
https://github.com/nickgammon/mushclient/pull/51
Australia Forum Administrator #2
I've merged in your commit.