Improve editing with backspace, delete, and cursor handling.
Additionally, some minimal history would be nice. Best yet would be to mimic the editing and history capabilities of GDB (host).