Add 'insert' function to feed text to the terminal