NuSkooler / enigma-bbs

ENiGMA½ BBS Software
https://nuskooler.github.io/enigma-bbs/
BSD 2-Clause "Simplified" License
548 stars 105 forks source link

MCI code to ANSI is inconsistent when used in combinations with |00 #555

Open stack-fault opened 3 months ago

stack-fault commented 3 months ago

MCI to ANSI appears inconsistent for combinations containing |00

|19|00 : Should be black text over cyan background but returns black on black |00|19 : Should be black text over cyan background but returns grey on cyan |00 : Should return black text (invisible on black bg) but returns grey

NuSkooler commented 3 months ago

@stack-fault I might need more information on this. The whole system is using MCIs all over, with success.

Can you post a screen shot of the "pipe" command on Xibalba in your terminal?

stack-fault commented 3 months ago

image Here is a screenshot with different combinations. It looks like the low colors resets the background or something similar. Both pipe codes are listed before the actual pipe test, let me know if still unclear This was not on Xibalba but on my own local 0.14 instance

stack-fault commented 3 months ago

I just noticed I had a Mystic client connected to my test server as well, as comparison image

NuSkooler commented 1 week ago

|00 current implementation: https://github.com/NuSkooler/enigma-bbs/blob/master/core/color_codes.js#L28

Right now, some of these reset to clear previous attributes, and set a color