3 ms·Why not check for ESC (0x1b, ^[) bytes instead? Without those, you can't mess up your terminal that badly.by aaron_m04 9y agoWhy not check for ESC (0x1b, ^[) bytes instead? Without those, you can't mess up your terminal that badly.