Skip to content

Commit

Permalink
Synchronize LineReaderImpl#redisplay to avoid concurrent threads upda…
Browse files Browse the repository at this point in the history
…ting the display, fixes #233
  • Loading branch information
gnodet committed Feb 16, 2018
1 parent 0a64bc9 commit cf0f501
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3351,7 +3351,7 @@ public boolean redisplay() {
return true;
}

protected void redisplay(boolean flush) {
protected synchronized void redisplay(boolean flush) {
if (skipRedisplay) {
skipRedisplay = false;
return;
Expand Down

0 comments on commit cf0f501

Please sign in to comment.