Imported from archive.
authorJeremy Stanley <fungi@yuggoth.org>
Sun, 5 Feb 2006 04:40:52 +0000 (04:40 +0000)
committerJeremy Stanley <fungi@yuggoth.org>
Sun, 5 Feb 2006 04:40:52 +0000 (04:40 +0000)
* mudpy.py (User.send): Reduced the word-wrap column count from 80
to 79, to deal with some clients which will themselves wrap at,
rather than after, the last column.

mudpy.py

index 3650f89..c989f0f 100644 (file)
--- a/mudpy.py
+++ b/mudpy.py
@@ -651,8 +651,8 @@ class User:
                        # find and replace macros in the output
                        output = replace_macros(self, output)
 
-                       # wrap the text at 80 characters
-                       output = wrap_ansi_text(output, 80)
+                       # wrap the text at 79 characters
+                       output = wrap_ansi_text(output, 79)
 
                        # tack the terminator back on
                        if terminate: output += self.terminator