Add support for user preferences
[mudpy.git] / mudpy / misc.py
index 930d4d7..2bf4db3 100644 (file)
@@ -1,6 +1,6 @@
 """Miscellaneous functions for the mudpy engine."""
 
-# Copyright (c) 2004-2018 mudpy authors. Permission to use, copy,
+# Copyright (c) 2004-2019 mudpy authors. Permission to use, copy,
 # 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:
-                    output += "> "
+                    output += self.account.get("prompt", ">") + " "
                     mode = self.avatar.get("mode")
                     if mode:
                         output += "(" + mode + ") "