Ensure REPL handles control chars properly and persist history in memory
Merge pull request #53 from m0wfo/master

Fix CLI's inability to handle basic control operations