We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ce3c37 commit c129420Copy full SHA for c129420
1 file changed
bpython/curtsiesfrontend/replpainter.py
@@ -29,7 +29,7 @@ def display_linize(msg, columns):
29
def paint_history(rows, columns, display_lines):
30
lines = []
31
for r, line in zip(range(rows), display_lines[-rows:]):
32
- lines.append(fmtstr(line))
+ lines.append(fmtstr(line[:columns]))
33
r = fsarray(lines, width=columns)
34
assert r.shape[0] <= rows, repr(r.shape)+' '+repr(rows)
35
assert r.shape[1] <= columns, repr(r.shape)+' '+repr(columns)
0 commit comments