Fix wrap markers not being added when getting the history buf as text
This commit is contained in:
parent
b9dd434fab
commit
dbb94fc1ff
@ -403,7 +403,7 @@ class Window:
|
|||||||
f(lines.append, as_ansi, add_wrap_markers)
|
f(lines.append, as_ansi, add_wrap_markers)
|
||||||
if add_history:
|
if add_history:
|
||||||
h = []
|
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
|
lines = h + lines
|
||||||
return ''.join(lines)
|
return ''.join(lines)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user