class FakeTerminal
def initialize
@data = ''
end
def feed(data)
@data << data
def screen
{ snapshot: @data, cursor: @data.size }