Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix interactive mode on windows #306

Merged
merged 1 commit into from
Jul 27, 2019

Conversation

koichirok
Copy link
Contributor

On Windows, System.in.read () processes CR and LF separately when the Enter key is pressed.
Therefore, when using interactive mode on Windows, even-numbered commands will always be executed immediately without waiting for the Enter key to be pressed.

This PR fixes this problem.

@vmi vmi merged commit 29bf0ee into vmi:master Jul 27, 2019
@vmi
Copy link
Owner

vmi commented Jul 27, 2019

Thank you for PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants