linting index.js too
implementing adhesive cursor movement, needed for DomRenderer
add missing functions in TermBuffer. Fixes #57