sdether / josh.js

Toolkit for building a bash-like shell in the browser, including full readline support
http://sdether.github.com/josh.js/
Apache License 2.0
390 stars 76 forks source link

Towards curses #4

Closed sdether closed 11 years ago

sdether commented 11 years ago

Currently if the output returned by a command is unbounded, freeform html. This makes paging support hard. Instead the shell should be created as a terminal windows with with a resolution of rows,cols. Command output would support a single string (which would be wrapped), an array of strings (which would not be wrapped) or freeform HTML (which would be put into a div that can be capped to the current terminal size).

Given output of known lines, implementing --MORE-- behavior could be supported and the grid nature of the screen could become the basis for implementing curses

sdether commented 11 years ago

This issue is being obsoleted by #14, i.e. going to a STDIO stream model that's line oriented.