mirror of
https://github.com/wassname/pyreadline.git
synced 2026-10-02 12:40:27 +08:00
py3 unified pyreadline/lineeditor/lineobj.py
This commit is contained in:
1 parent
7e1173a218
commit
7d73e01a56
1 file changed
+1
-1
@@ -253,7 +253,7 @@ class TextLine(object):
|
||||
|
||||
def get_line_text(self):
|
||||
buf = self.line_buffer
|
||||
buf = map(ensure_unicode, buf)
|
||||
buf = list(map(ensure_unicode, buf))
|
||||
return ''.join(buf)
|
||||
|
||||
def set_line(self, text, cursor = None):
|
||||
|
||||
Reference in new issue
Block a user