Skip to content

Commit fdb8a09

Browse files
authored
Merge pull request #2 from CyanideByte/fix-magic-command-shell
Removes extra new lines that were cluttering the console output
2 parents a6e409e + 5e0ca83 commit fdb8a09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interpreter/core/computer/terminal/terminal.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def _streaming_run(self, language, code, display=False):
106106
and chunk.get("format") != "active_line"
107107
and chunk.get("content")
108108
):
109-
print(chunk["content"])
109+
print(chunk["content"], end="")
110110

111111
except GeneratorExit:
112112
self.stop()

0 commit comments

Comments
 (0)