Skip to content

Commit

Permalink
removed CLibrary usage
Browse files Browse the repository at this point in the history
  • Loading branch information
jurgenvinju committed Apr 8, 2024
1 parent 33fa247 commit e5a8143
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 26 deletions.
2 changes: 1 addition & 1 deletion src/org/rascalmpl/debug/IRascalMonitor.java
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ default void jobStep(String name, String message) {
* @return
*/
public static IRascalMonitor buildConsoleMonitor(InputStream in, OutputStream out) {
return IsTTY.isTTY()
return System.console() != null
? new TerminalProgressBarMonitor(out, in, TerminalFactory.get())
: new ConsoleRascalMonitor(new PrintStream(out))
;
Expand Down
25 changes: 0 additions & 25 deletions src/org/rascalmpl/repl/IsTTY.java

This file was deleted.

0 comments on commit e5a8143

Please sign in to comment.