Corrected trap escape sequence for compatibility