Fix wrap markers not being added when getting the history buf as text

This commit is contained in:
Kovid Goyal 2018-06-07 13:12:15 +05:30
parent b9dd434fab
commit dbb94fc1ff
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -403,7 +403,7 @@ class Window:
f(lines.append, as_ansi, add_wrap_markers)
if add_history:
h = []
self.screen.historybuf.as_text(h.append, as_ansi)
self.screen.historybuf.as_text(h.append, as_ansi, add_wrap_markers)
lines = h + lines
return ''.join(lines)