hterm 1.21: Clear line-overflow whenever we insert characters.

Clear line-overflow state when inserting text.  This keeps
us from accidentally re-using the overflow state of text that was already
visible on the line.

BUG=chromium:266128, Secure Shell drops some newlines when copying
  text from tmux
TEST=manual testing
TEST=hterm_test.html, 68/68 tests passed

Change-Id: Ic16c10e17109959376af7ff8b3f0de384ab8dc1c
Reviewed-by: Robert Ginda <>
Tested-by: Robert Ginda <>
2 files changed
tree: 37e0ef7201a4e7997f47b719557b1199bff32df4
  1. .gitignore
  4. chromeapps/
  5. crosh_builtin/
  6. hterm/
  7. libdot/
  8. nassh/


This repository holds web applications that make use of libdot/.

libdot/ is a small set of JS libraries initially developed as part of hterm, now available as shared code.

hterm/ is a JS based terminal emulator that is reasonably fast, reasonably correct, and reasonably portable across browsers.

nassh/ is a Chrome App (currently a “v1.5” app, soon to become a “v2” or Platform App) that combines hterm with a NaCl build of OpenSSH to provide a PuTTY-like app for Chrome users.

See for information about how to get a local copy of the source and submit patches.