|
XonDK Apprentice
Joined: 01 Dec 2006 Posts: 178
|
Posted: Sun Jul 27, 2008 9:44 pm
Weird Color trigger bug. |
So i'm using this trigger.
Code: |
^\033\[1;37;46m(.*)\033\[0m$ |
to capture a line that is cyan background a white text.
and then alter it with #SUB {%ansi(15)%1}
Now it works most of the time without a flaw.
But if the line becomes extra long the %ansi color setting stops working and zmud displayes the rest of the line with cyan background and white text.
anyone got any idea what's happening?
And yes it is set up as an ansi trigger. |
|
|
|
Rahab Wizard
Joined: 22 Mar 2007 Posts: 2320
|
Posted: Mon Jul 28, 2008 4:54 pm |
Have you checked whether the mud is inserting ansi codes in the middle of the line?
|
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Mon Jul 28, 2008 5:01 pm |
Unfortunately, #SUB does not work properly within ANSI color triggers. This is a known problem and will be improved in the future.
|
|
|
|
XonDK Apprentice
Joined: 01 Dec 2006 Posts: 178
|
Posted: Mon Jul 28, 2008 6:20 pm |
ah alright, its livable until it is fixed.
|
|
|
|
|
|