Skip to content

Instantly share code, notes, and snippets.

@evanfarrar
Created November 25, 2009 06:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save evanfarrar/242517 to your computer and use it in GitHub Desktop.
Save evanfarrar/242517 to your computer and use it in GitHub Desktop.
(while true
(if (< 0 (. input-stream available))
(print (char (.read input-stream)))
(Thread/sleep 10)
)
)
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