Start handling control characters

For now, only strip them from the output. Need to figure out how
libreadline passes those along to the terminal to move the cursor.