Terminal emulator for SDL