fix hardcoded sys.stdout bug in terminal
remove debug error line
remove extra newline from errors
add swap files to .gitignore
fix terminal character processing to catch escape sequences
Left arrow working
refactor right arrow and other readline sequences
add right arrow
more keys, inc backspace in manual readline