fix multiline entry
All checks were successful
Test / Test (push) Successful in 1m16s

This commit is contained in:
John Burwell 2023-05-28 14:07:02 -05:00
parent 1bef879dac
commit c67179cdba

View File

@ -90,7 +90,7 @@ class Console():
self.write_output(prompt)
while True:
input_line = sys.stdin.readline()
if input_line.lower().strip() != "/ex":
if input_line.lower().strip() == "/ex":
break
input_lines.append(input_line)
return ''.join(input_lines)