mirror of
https://github.com/powerline/powerline.git
synced 2025-07-23 05:46:01 +02:00
Remove empty lines
This commit is contained in:
parent
0db8154b9a
commit
c3e541d16a
@ -111,6 +111,8 @@ with codecs.open(fname, 'r', encoding='utf-8') as R:
|
|||||||
if line == '\033[?1h\033=\033[?25l\033[1A\n':
|
if line == '\033[?1h\033=\033[?25l\033[1A\n':
|
||||||
line = ''
|
line = ''
|
||||||
line = IPYPY_DEANSI_RE.subn('', line)[0]
|
line = IPYPY_DEANSI_RE.subn('', line)[0]
|
||||||
|
if line == '\n':
|
||||||
|
line = ''
|
||||||
if line.startswith(('>',)):
|
if line.startswith(('>',)):
|
||||||
line = ''
|
line = ''
|
||||||
elif line == '-> self.quitting = 1\n':
|
elif line == '-> self.quitting = 1\n':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user