← Back to team overview

mudlet-makers team mailing list archive

Re: [Bug 1225591] [NEW] Blank spaces in an echo before text in trigger context are stripped

 

Are you sure this didn't relate to Mudlets word wrapping of the MUDs
text?

I think that is what was the intention - when there is a long line and text
is wrapped, spaces before it should be deleted. But it should not affect
any of the scripting API. I remember now the issue was with help indexes -
those do indeed look proper, now:

CITY OF MHALDOR

ambassador         arenaevents        behaviour          bloodfeuds
bounties
branding           catalogue          citydirections     cityfavours
 citylaws
cityrepair         combattournament   creditsales        dragons
 eidolons

Whereas before it looked like:

CITY OF MHALDOR

ambassador         arenaevents        behaviour          bloodfeuds
bounties
         branding           catalogue          citydirections
cityfavours        citylaws
    cityrepair         combattournament   creditsales        dragons
     eidolons

However this was not intended to affect the API and should not!

-- 
You received this bug notification because you are a member of Mudlet
Makers, which is subscribed to Mudlet.
https://bugs.launchpad.net/bugs/1225591

Title:
  Blank spaces in an echo before text in trigger context are stripped

Status in Mudlet the MUD client:
  Confirmed

Bug description:
  Steps to reproduce:

  make a new trigger

  put echo("\n  hi\n  hi") into it

  output will be:

  You see exits leading northeast, east (open door), west (open door), northwest, up, and down.
  hi
  hi

  Blank spaces before text in the echo are being stripped, and this is
  an undesirable modification - it breaks a lot of alignment in echoes.

  This is on current in git only and not 2.1.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mudlet/+bug/1225591/+subscriptions


Follow ups

References