Page 1 of 1

Line width bug [tabs]

Posted: Sun Apr 03, 2011 10:24 am
by ahuman
Using Mudlet 2.0-rc1, there's a persistent bug with how it displays tab characters (like from the %t substitution on a MUSH). It treats them like one character, but they display ten wide. This makes tabbed lines wrap ten places later than untabbed lines.

A related request would be a configurable tab width, or at least a more reasonable width like 4 characters.

Re: Line width bug

Posted: Sun Apr 03, 2011 11:22 am
by Heiko
Mudlet cannot handle tab chars. The user is responsible to replace them with the number of spaces he wants. -> regex trigger

Re: Line width bug

Posted: Sun Apr 03, 2011 12:51 pm
by Vadi
Some MKO scripts come with a trigger - you just do a regex match on \t, select it and replace with whatever you'd like. tabs shouldn't be used by MUDs however.

Re: Line width bug

Posted: Thu Aug 16, 2012 8:49 pm
by Vadi
Here's a trigger to do this, by the way.

Re: Line width bug [tabs]

Posted: Thu Jan 24, 2013 2:16 pm
by Garagoth
Sorry for bringing back old topic but unless I'm doing something wrong this only replaces tabs in output window and rest of triggers still operate on a line that contains tabs

Is there any way for a trigger to modify a line so next triggers will match against that changed line and not original one that came from MUD?

Regards,
Garagoth.

Re: Line width bug

Posted: Thu Oct 31, 2013 11:21 pm
by ktiedt
Vadi wrote:Here's a trigger to do this, by the way.
Except this completely breaks any layout that was relying on tabs... So there is no way to properly handle tabs? I mean... they arent a new concept or anything :/

Re: Line width bug [tabs]

Posted: Fri Nov 01, 2013 1:41 am
by Vadi
They arent a new concept, but they are one without an actual standard defining what do they do.

Re: Line width bug [tabs]

Posted: Sun Nov 10, 2013 7:33 pm
by Heiko
Tab support has been added to Mudlet for some time now. Wait for the next release or use the dev branch.