Skip to content

Commit

Permalink
Remove an extra line break when run() put the cursor back to 0,0.
Browse files Browse the repository at this point in the history
  • Loading branch information
arnauddupuis committed Oct 23, 2020
1 parent 8d3e6c8 commit 1b1e748
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pygamelib/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -1356,7 +1356,7 @@ def run(self):
self.previous_time = time.time()
if self.player != constants.NO_PLAYER:
self.player.dtmove += elapsed
print(self.terminal.home)
print(self.terminal.home, end="")
self.user_update(self, in_key, elapsed)
print(self.terminal.clear_eos)
self.actuate_npcs(self.current_level, elapsed)
Expand Down

0 comments on commit 1b1e748

Please sign in to comment.