Skip to content

Commit

Permalink
hopefully fixes "Not Responding" issue in async mode
Browse files Browse the repository at this point in the history
  • Loading branch information
callumnewlands committed Jun 19, 2021
1 parent 0f8001c commit 6204f15
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/App.java
Original file line number Diff line number Diff line change
Expand Up @@ -987,6 +987,7 @@ private void pollKeys() {
private void blockAndProcessInputStream() {
final float LOOK_OFFSET = parameters.input.stdin.lookOffset * 30f / parameters.input.stdin.fps;
try {
glfwPollEvents();
String s = inputStream.readLine().toUpperCase();
for (char c : s.toCharArray()) {
switch (c) {
Expand Down

0 comments on commit 6204f15

Please sign in to comment.