Skip to content

Commit

Permalink
hopefully fixes unicode test on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
jurgenvinju committed Apr 7, 2024
1 parent 0687e40 commit 2b41cf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/org/rascalmpl/repl/TerminalProgressBarMonitor.java
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ static boolean isUTF8enabled(PrintWriter writer, InputStream in) {
int diff = newPos - pos;

try {
return diff == 2;
return diff < 3;
}
finally {
while (--diff >= 0) {
Expand Down

0 comments on commit 2b41cf8

Please sign in to comment.