Skip to content

Commit 8a7295d

Browse files
wait to use pretty corners until unicode support
--HG-- branch : scroll-frontend
1 parent fea5cbd commit 8a7295d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bpython/scrollfrontend/replpainter.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,10 @@ def paint_infobox(rows, columns, matches, argspec, match, docstring, config):
6767
# add borders
6868
width = min(columns - 2, max([len(line) for line in lines]))
6969
output_lines = []
70-
output_lines.append(''+''*width+'')
70+
output_lines.append('+'+'-'*width+'+')
7171
for line in lines:
7272
output_lines.append('|'+((line+' '*(width - len(line)))[:width])+'|')
73-
output_lines.append(''+''*width+'')
73+
output_lines.append('+'+'-'*width+'+')
7474
r = fsarray(output_lines[:rows])
7575
assert len(r.shape) == 2
7676
#return r

0 commit comments

Comments
 (0)