Add Stdin.isTerminal.

This commit is contained in:
Bob Nystrom
2016-05-21 12:51:11 -07:00
parent 06731f66d4
commit 6002cc4d65
6 changed files with 20 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
import "io" for Stdin
// The tests aren't run in a terminal.
System.print(Stdin.isTerminal) // expect: false