Skip to content

Commit 5ea18b3

Browse files
prevent error when pastebin url too long
--HG-- branch : scroll-frontend
1 parent 70fd452 commit 5ea18b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bpython/scrollfrontend/replpainter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,5 +86,5 @@ def paint_last_events(rows, columns, names):
8686
return r
8787

8888
def paint_statusbar(rows, columns, msg, config):
89-
return fsarray([func_for_letter(config.color_scheme['main'])(msg.ljust(columns))])
89+
return fsarray([func_for_letter(config.color_scheme['main'])(msg.ljust(columns))[:columns]])
9090

0 commit comments

Comments
 (0)