Plain text escape sequences in copy text window
kanegasi opened this issue ยท 0 comments
Describe the bug
The Copy Text window strips plain text escape sequences, such as results from a dump command.
To Reproduce
Steps to reproduce the behavior:
/run WASD="\124cffedcba9FooBar\124r"
/dump WASD
- Open copy chat
Expected behavior
Dump: WASD
WASD="|cffedcba9FooBar|r"
Actual behavior
Dump: WASD
WASD="|FooBar|"
Screenshots
(this is just an example you can only do when standing in front of a delve entrance)
Version Information (please complete the following information):
Dump: value=GetBuildInfo()
[1]="11.0.5",
[2]="57637",
[3]="Nov 17 2024",
[4]=110005,
[5]="",
[6]=" "
Dump: value=Prat.Version
[1]="Prat |3.0| (|3.9.60|)"
Addons you are running
Tested with only Prat running
Comments
I understand that you would want to strip colors from the copy text. I remember a few years ago that being an issue with unbound or otherwise broken colors making the entire blob of text a color, but I hope there's a way to disable colors while still allowing a direct copy of what I see.