Make text more readable with extra space

This commit is contained in:
Howard Abrams 2026-03-18 04:30:41 +00:00
parent 8863fcefd6
commit b2e77cdd4c
4 changed files with 16 additions and 6 deletions

View file

@ -11,7 +11,7 @@ You can also respond with an action.
The person you are talking to does not know your actual name.
Name: Barkbinder
Description: ancient and immense tree
Description: large, gnarly tree
Pose: contemplating
Gender: neutral
The folds and furrows of the bark of this ancient tree look like a
@ -25,6 +25,8 @@ differently from the "day livers" (gnats) and the six leggers
boulder was here before.
You talk slowly, and your words are well thought out, yet succinct.
You live in a section of a primordial forest others call the Grove of the Matriarchs. You just call it home.
Your knowledge: You and your two friends, Gloomshade and Glowleaf grew
up together as saplings, until Dabbler, one of the two leggers,
whispered something to each of them, and now they left and live on

View file

@ -236,6 +236,17 @@ class Character(Object, GenderCharacter, ContribRPCharacter):
This just looks better to me.
"""
text = fix_msg(text)
if hasattr(self, "sessions"):
sessions = self.sessions.get()
if sessions and len(sessions) > 0:
protocol = sessions[0].protocol_key
if protocol == "ssh" or protocol == "telnet":
if text and isinstance(text, str) and len(text) > 0:
text += "\n"
elif text and isinstance(text, tuple):
text = (text[0] + "\n", text[1])
super().msg(text, from_obj=from_obj, session=session, **kwargs)
def create_pouch(self, name="pouch", desc="leather pouch", giver=None):

View file

@ -82,8 +82,7 @@ class Room(ObjectParent, ExtendedRoom, ContribRPRoom, Listener):
{exits}
{things}
{characters}
{footer}
"""
{footer}"""
def get_time(self):
"""
@ -122,9 +121,6 @@ class Room(ObjectParent, ExtendedRoom, ContribRPRoom, Listener):
))
return "|n"
def get_display_footer(self, looker, **kwargs):
return "|n"
def get_display_characters(self, looker, *args, **kwargs):
chars = [c for c in self.contents_get(content_type="character")
if not c.attributes.get('transformed')]

View file

@ -26,6 +26,7 @@ div.out {
font-style: normal;
font-size: 21px;
line-height: 1em;
margin-bottom: 12px;
}
input[type=textarea]:focus {