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
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