(term-adjust-current-row-cache): Don\'t allow the current
row to become negative. (term-emulate-terminal): Fix insert mode. Handle tab insertion at the end of the line. Fix scroll down. Add comments. (term-handle-ansi-escape): Don\'t exceed terminal width when moving right. (term-scroll-region): Move the cursor after setting the scroll region.
Showing with 63 additions and 20 deletions