I'm looking into using CheerpJ to put together a website to showcase student projects in my intro programming class. I've been testing with projects from past semesters. Many are using swing and are working well, but some students' projects have user interaction in the terminal (REPL style). When I run non-gui applications I see stdout in the browser console which is a good start, but I'm not sure how to interact with stdin.