mirror of
https://github.com/wassname/pyreadline.git
synced 2026-06-27 16:10:38 +08:00
py3 unified pyreadline/lineeditor/lineobj.py
This commit is contained in:
@@ -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