fix(telescope): avoid superfluous whitespace after register column

The length is enough as the register column is joined with whitespaces
around it. Hence we can simply drop the increment and just use the raw
length to get rid of the double whitespace.
pull/908/head
anthraxx 5 years ago committed by Disconnect3d
parent 75b42495b8
commit 05036defa0

@ -90,7 +90,7 @@ def telescope(address=None, count=telescope_lines, to_string=False):
# Find the longest set of register information
if regs:
longest_regs = max(map(len, regs.values())) + 1
longest_regs = max(map(len, regs.values()))
else:
longest_regs = 0

Loading…
Cancel
Save