More readline functionality
More efficient iterating on terminal_writestring