Skip to content

Commit 1228372

Browse files
committed
Improving the algorithm
1 parent 2e1d045 commit 1228372

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

EscapePyPromptLineString/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ def input_text_changed(self):
104104
new_out_text = []
105105

106106
for line in out_text.splitlines():
107-
if line.startswith('>>> ') or line.startswith('... '):
107+
if line.startswith('>>> ') or line.startswith('... ') or line == '...':
108108
line = line[4:]
109109

110110
new_out_text.append(line)

0 commit comments

Comments
 (0)