Suppose I want to implement a curses/console like program in HTML/CSS/Javascript. Examples might be a online text adventure game or a simple interpreter similar to the "Try the XYZ programming language now" web pages you see for languages like Ruby or Haskell. Is there a library/plugin/etc... that implements these terminal like interfaces?
Note:
After digging around for quite some time I found jquery-console, which looks quite promising at first glance.
Any other alternatives or recommendations?