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 » Sat Apr 24, 2010 3:48 am

tabbing problem.png
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 » Sat Apr 24, 2010 4:00 am

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 » Sat Apr 24, 2010 5:17 am

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 » Sat Apr 24, 2010 9:28 am

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

Who is online

Users browsing this forum: No registered users and 4 guests