Utilized term.js's cursor

Utilized term.js's cursor. Fixes #7