configurable height
store lines in a way that's easier to retrieve the command text
handle scrolling properly