hterm 1.16, nassh 0.8.20.4: More fix newline regression.

* 1.15 got the treatment of the areas above/below the scroll region wrong.

BUG=None
TEST=hterm_test.html, 66/66 tests passed.
TEST=size terminal to 25 rows, execute...
  echo -e "\e[10;20r\e[24;0HXXX\n\nYYY\e[1;
and ensure that output matches xterm.

Change-Id: I9276d25ddf7764a3f3300bd2f6c7576a1de2f202
Reviewed-on: https://gerrit.chromium.org/gerrit/63407
Reviewed-by: Robert Flack <flackr@chromium.org>
Commit-Queue: Robert Ginda <rginda@chromium.org>
Tested-by: Robert Ginda <rginda@chromium.org>
4 files changed
tree: 41ecd000ec4590faeaa074a49807e26594935a96
  1. crosh_builtin/
  2. hterm/
  3. libdot/
  4. nassh/