fix(telescope): also unroll buffer if last line is skipped

In case the max steps are reached and the loop finished the current skip
buffer remains filled and not unrolled when the last lines are all
skipped values. Fix this by calling the collapse function and
potentially unroll the buffer in case it contains any values.

Fixes #907
pull/910/head
anthraxx 5 years ago committed by Disconnect3d
parent 05036defa0
commit 87da998fce

@ -131,6 +131,7 @@ def telescope(address=None, count=telescope_lines, to_string=False):
result.append(line)
collapse_repeating_values()
telescope.offset += i
telescope.last_address = addr

Loading…
Cancel
Save