Fix chjj/tty.js#99, chjj/term.js#10; reset() should preserve existing geometry

reset() should preserve existing geometry
chjj/tty.js#99, and I think chjj/term.js#10