A simple terminal emulator