Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ Bug reports ➜ SetScroll triggers OnPluginDrawOutputWindow even if nothing changes

SetScroll triggers OnPluginDrawOutputWindow even if nothing changes

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Fiendish   USA  (2,551 posts)  Bio   Global Moderator
Date Fri 03 Jan 2020 07:27 PM (UTC)

Amended on Sat 04 Jan 2020 09:41 AM (UTC) by Fiendish

Message
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

https://github.com/fiendish/aardwolfclientpackage
Top

Posted by Fiendish   USA  (2,551 posts)  Bio   Global Moderator
Date Reply #1 on Sat 04 Jan 2020 09:42 AM (UTC)
Message
https://github.com/nickgammon/mushclient/pull/51

https://github.com/fiendish/aardwolfclientpackage
Top

Posted by Nick Gammon   Australia  (23,169 posts)  Bio   Forum Administrator
Date Reply #2 on Sat 04 Jan 2020 09:41 PM (UTC)
Message
I've merged in your commit.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


12,118 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.