Fix /tfb help text garbled by chat escape characters
The pipe character starts a chat escape code, so "timers|highlight|sweeps" printed as "timersighlight|sweeps". Reword without pipes. Bump to 0.9.5. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019W3rwutyoLNHxXPycYWSMc
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
# Changelog
|
||||
|
||||
## 0.9.5
|
||||
|
||||
- Fix the `/tfb` help text: `|` is a chat escape character, so it printed garbled.
|
||||
|
||||
## 0.9.4
|
||||
|
||||
- Add `/tfb test [buffs debuffs]` and an options-panel button: fake auras on the
|
||||
|
||||
+2
-2
@@ -129,7 +129,7 @@ SlashCmdList["TARGETFRAMEBUFF"] = function(message)
|
||||
if (value == "off") then on = false;
|
||||
elseif (value == "" ) then on = not TargetFrameBuff_IsTest();
|
||||
elseif (value == "on" or buffs) then on = true;
|
||||
else Print("Use /tfb test [on|off] or /tfb test <buffs> <debuffs>."); return; end
|
||||
else Print("Use /tfb test [on or off] or /tfb test <buffs> <debuffs>."); return; end
|
||||
local _, nb, nd = TargetFrameBuff_SetTest(on, tonumber(buffs), tonumber(debuffs));
|
||||
Print("test auras: "..(on and ("on ("..nb.." buffs, "..nd.." debuffs). Needs a target; /tfb test turns it off.") or "off"));
|
||||
elseif (command == "reset") then
|
||||
@@ -139,7 +139,7 @@ SlashCmdList["TARGETFRAMEBUFF"] = function(message)
|
||||
CreateOptions();
|
||||
InterfaceOptionsFrame_OpenToCategory(panel);
|
||||
else
|
||||
Print("/tfb timers|highlight|sweeps [on|off], /tfb size 6-20, /tfb warning 0-30, /tfb test [buffs debuffs], /tfb reset");
|
||||
Print("/tfb timers, highlight or sweeps [on or off], /tfb size 6-20, /tfb warning 0-30, /tfb test [buffs debuffs], /tfb reset");
|
||||
return;
|
||||
end
|
||||
RefreshAuras();
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
## Interface: 1700
|
||||
## Title: TargetFrameBuff v0.9.4
|
||||
## Title: TargetFrameBuff v0.9.5
|
||||
## Notes: Shows up to 32 Buffs & 16 Debuffs on a Target, with countdowns when ClassicAPI is installed
|
||||
## Author: lua@lumpn.de (modified)
|
||||
## SavedVariables: TargetFrameBuffDB
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
# TargetFrameBuff v0.9.4 validation
|
||||
# TargetFrameBuff v0.9.5 validation
|
||||
|
||||
21 simulated Lua 5.1 regression scenarios passed, plus XML parsing. These cover
|
||||
old/native clients, aura reordering, overflow, settings, sweep lifecycle, delta
|
||||
|
||||
Reference in New Issue
Block a user