[sorrows-mudlib] r190 committed - Fix the backspace-related input bug. Now all backspaces and overwritt...

0 views
Skip to first unread message

sorrows...@googlecode.com

unread,
Sep 11, 2010, 5:13:32 AM9/11/10
to sorrows-mud...@googlegroups.com
Revision: 190
Author: richard.m.tew
Date: Sat Sep 11 02:12:33 2010
Log: Fix the backspace-related input bug. Now all backspaces and
overwritten keypresses are reconciled correctly.
http://code.google.com/p/sorrows-mudlib/source/detail?r=190

Modified:
/trunk/mudlib/services/net/connectionTelnet.py

=======================================
--- /trunk/mudlib/services/net/connectionTelnet.py Fri Sep 10 22:00:18 2010
+++ /trunk/mudlib/services/net/connectionTelnet.py Sat Sep 11 02:12:33 2010
@@ -171,7 +171,7 @@
ret = ret[1:]
else:
ret = ret[:i-1] + ret[i+1:]
- i = ret.find('\x08', i)
+ i = ret.find('\x08')

# print "INPUT-LINE", [ ord(c) for c in ret ], ret
return ret

Reply all
Reply to author
Forward
0 new messages