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.
Line width bug [tabs]
Re: Line width bug
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
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
Here's a trigger to do this, by the way.
- Attachments
-
- tab-remover.xml
- (1.18 KiB) Downloaded 623 times
Re: Line width bug [tabs]
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.
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
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 :/Vadi wrote:Here's a trigger to do this, by the way.
Re: Line width bug [tabs]
They arent a new concept, but they are one without an actual standard defining what do they do.
Re: Line width bug [tabs]
Tab support has been added to Mudlet for some time now. Wait for the next release or use the dev branch.