Created
November 25, 2009 06:01
-
-
Save evanfarrar/242517 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(while true | |
(if (< 0 (. input-stream available)) | |
(print (char (.read input-stream))) | |
(Thread/sleep 10) | |
) | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
while(true){ | |
while (input.available()>0) | |
System.out.print((char)(input.read())); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment