hterm 1.6: Track terminal size on the io object.

This installs a default onTerminalResize handler on the
hterm.Terminal.IO object that records the most recent
terminal size as io.columnCount and io.rowCount.  This
gives consumers synchronous access to these values without
having to wire up the event handler themselves.

TEST=hterm_test.html, 66/66 tests passed.

Change-Id: I14f5195dd8111a31a6a108172673a81fc4d30f0e
Reviewed-by: Marius Schilder <>
Commit-Queue: Robert Ginda <>
Reviewed-by: Robert Ginda <>
Tested-by: Robert Ginda <>
3 files changed
tree: af4a47a12f5df43b6020a85c3ab798fe1b64206e
  1. crosh_builtin/
  2. hterm/
  3. libdot/
  4. nassh/