projects
/
mudpy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add support for user preferences
[mudpy.git]
/
mudpy
/
misc.py
diff --git
a/mudpy/misc.py
b/mudpy/misc.py
index
930d4d7
..
2bf4db3
100644
(file)
--- a/
mudpy/misc.py
+++ b/
mudpy/misc.py
@@
-1,6
+1,6
@@
"""Miscellaneous functions for the mudpy engine."""
"""Miscellaneous functions for the mudpy engine."""
-# Copyright (c) 2004-201
8
mudpy authors. Permission to use, copy,
+# Copyright (c) 2004-201
9
mudpy authors. Permission to use, copy,
# modify, and distribute this software is granted under terms
# provided in the LICENSE file distributed with this software.
# modify, and distribute this software is granted under terms
# provided in the LICENSE file distributed with this software.
@@
-722,7
+722,7
@@
class User:
if not just_prompt:
output += "$(eol)"
if add_prompt:
if not just_prompt:
output += "$(eol)"
if add_prompt:
- output +=
">
"
+ output +=
self.account.get("prompt", ">") + "
"
mode = self.avatar.get("mode")
if mode:
output += "(" + mode + ") "
mode = self.avatar.get("mode")
if mode:
output += "(" + mode + ") "