Skip to content

Commit

Permalink
turn off help tags when disabling miniwindow plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
fiendish committed Nov 14, 2021
1 parent f4fdbf7 commit 9f8fed6
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
3 changes: 3 additions & 0 deletions MUSHclient/AardwolfPackageChanges.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
Aardwolf Client Package Major Changes List

r2162 snapshot
- misc change: It seems reasonable to turn off help tags when disabling/removing the helpfile miniwindow plugin.

r2161 snapshot
- bug fix: The new helpfile capture miniwindow plugin should no longer error when a theme update is invoked and the window doesn't exist.

Expand Down
10 changes: 10 additions & 0 deletions MUSHclient/worlds/plugins/aard_ingame_help_window.xml
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,16 @@ function OnPluginConnect()
TelnetOptionOn(TELOPT_HELPS)
end
function OnPluginDisable()
if IsConnected() then
TelnetOptionOff(TELOPT_HELPS)
end
end
function OnPluginClose()
OnPluginDisable()
end
function OnPluginThemeChange()
-- Miniwindow color themes are applied at their creation, so create an
-- existing window again if the theme changes.
Expand Down

0 comments on commit 9f8fed6

Please sign in to comment.