You are not logged in. Your edit will be placed in a queue until it is peer reviewed.
We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.
Required fields*
-
That's giving me a weird result when I run it. Some of the print statements are being written above my main terminal line.Ogen– Ogen2016年05月31日 03:15:42 +00:00Commented May 31, 2016 at 3:15
-
Then the screen clearing isn't working. I assume you are not working on Linux.user2390182– user23901822016年05月31日 03:17:33 +00:00Commented May 31, 2016 at 3:17
-
I'm on Mac. Regardless, I don't want the screen cleared, is there any way to get around thisOgen– Ogen2016年05月31日 03:19:43 +00:00Commented May 31, 2016 at 3:19
-
@Ogen I added some more system-independent terminal clearing code.user2390182– user23901822016年05月31日 03:20:40 +00:00Commented May 31, 2016 at 3:20
-
@Ogen I added some code that should work without clearing the terminal.user2390182– user23901822016年05月31日 03:36:36 +00:00Commented May 31, 2016 at 3:36
default