Color in Current_Output_Window plugin

Posted by Symple on Sat 04 Apr 2020 08:23 PM — 3 posts, 15,615 views.

#0
How would I go about changing the current output to retain the asci colors from the original output? I've tried and all I can seem to do is change the overall colors. I looked around the forums but couldn't find anything related and tried to look at the code from the Generic_Chat_Miniwindow.xml but am unclear where to go from here. I am still learning this stuff so any help would be appreciated!
USA Global Moderator #1
The function in Generic_Chat_Miniwindow.xml responsible for printing colored text to the miniwindow is called Display_Line. You can find it at https://github.com/nickgammon/plugins/blob/master/Generic_Chat_Miniwindow.xml#L322-L343

Unluckily, the Current_Output_Window plugin does not appear to preserve the style information for lines.

But if you're intrepid, I made something better for my Aardwolf MUSHclient package using my own custom miniwindow text library. If you want to peek at it, the code is here https://github.com/fiendish/aardwolfclientpackage/blob/MUSHclient/MUSHclient/worlds/plugins/aard_splitscreen_scrollback.xml
#2
Thank you so much! This looks to be pretty much what I was trying to replicate.