 |
rob Novice
Joined: 12 Oct 2000 Posts: 34 Location: Australia
|
Posted: Fri May 09, 2025 10:47 am
leading space after prompt on CR+LF |
In my mud you can add an option to your prompt which does a CR+LF
so normally you would see <prompt here> where
Bob In the forest
Sam In the guild
when I add the CR+LF it displays
so normally you would see <prompt here>
where
Bob In the forest
Sam In the guild
with a leading space.
now I tried this in mudlet to compare (which i dont want to use) with same option set and there was no leading space.
So it must be some cmud option somewhere.
Any ideas? |
|
|
 |
Vijilante SubAdmin

Joined: 18 Nov 2001 Posts: 5184
|
Posted: Fri May 09, 2025 1:42 pm |
The only option I can think of that might apply is in the Session section "Use GA/EOR for prompt".
|
|
_________________ The only good questions are the ones we have never answered before.
Search the Forums |
|
|
 |
shalimar GURU

Joined: 04 Aug 2002 Posts: 4764 Location: Pensacola, FL, USA
|
Posted: Fri May 09, 2025 2:43 pm |
I would just insert the carriage return client side instead.
Something like this should work:
Code: |
<trigger priority="10" newline="false" prompt="true" id="10">
<pattern>*</pattern>
<value>#PRINT %cr</value>
</trigger> |
I usually just suppress the prompt entirely and capture any relevant info to variables where I can display it myself. |
|
_________________ Discord: Shalimarwildcat |
|
|
 |
rob Novice
Joined: 12 Oct 2000 Posts: 34 Location: Australia
|
Posted: Fri May 09, 2025 9:58 pm |
Thanks for the replies I tried disabling GA/EOR with no affect.
mud help file on prompt: %- CR+LF
I tried setting the prompt to this and the space is after the >
<wilderness forest (100%hp) (100%m) (100%mv) 8329tnl 3 PM>
prompt <%W (%ehp) (%fm) (%gmv) %Xtnl %T>%->
Your prompt has been set.
<wilderness forest (100%hp) (100%m) (100%mv) 8329tnl 3 PM>
> whe
then back to this:
<wilderness forest (100%hp) (93%m) (100%mv) 8259tnl 8 AM>
prompt <%W (%ehp) (%fm) (%gmv) %Xtnl %T>%-
Your prompt has been set.
<wilderness forest (100%hp) (93%m) (100%mv) 8259tnl 8 AM>
whe
probably on zugg himself could answer this one as mudlet doesnt show the space.
I even installed cmud on a new laptop, used default settings, created a new char and set the %- and it did the same thing |
|
|
 |
rob Novice
Joined: 12 Oct 2000 Posts: 34 Location: Australia
|
Posted: Fri May 09, 2025 11:34 pm |
I asked mud implementor to check code evidently the %- just sends \n\r not sure if that helps
|
|
|
 |
|
|