Return ANSI sequences for special keys