You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have not encountered this problem yet, but I don't see anything in the code to protect against it...
The terminal can still be written to while a prompt is going, and if the user's cursor is not at the bottom, it will clobber over their input. The print and println methods should make sure that doesn't happen, by clearing the input and prompt, printing whatever, and restoring the input and prompt.