Bug: Tabbed output

Post Reply
User avatar
tsuujin
Posts: 695
Joined: Fri Feb 26, 2010 12:59 am
Location: California
Contact:

Bug: Tabbed output

Post by tsuujin »

At least the color makes the names stick out.
At least the color makes the names stick out.
This occurs on help files that appear to TAB rather than uses simple spaces. As you can see from the top, regular output is correctly colored, but the tabbed WARLORDS file shows obvious distortion.

naftali
Posts: 138
Joined: Wed Jan 20, 2010 8:42 pm

Re: Bug: Tabbed output

Post by naftali »

noticed this also when IRE was prieviewing the tears of polaris server, assumed it was because Polaris was buggy somehow.

User avatar
Heiko
Site Admin
Posts: 1548
Joined: Wed Mar 11, 2009 6:26 pm

Re: Bug: Tabbed output

Post by Heiko »

No, Mudlet cannot process \t in a general manner.
But you can easily trigger on \t and replace it with as many spaces as you like - or what works best for your MUD.

User avatar
tsuujin
Posts: 695
Joined: Fri Feb 26, 2010 12:59 am
Location: California
Contact:

Re: Bug: Tabbed output

Post by tsuujin »

in case anyone was wondering:

Trigger:
regex: \t
code:
[syntax=lua]
local c = 1
while selectString("\t",c) > -1 do
replace(" ")
end
[/syntax]

Post Reply