An ESC sent from the terminal is most often used as an out-of-band character used to terminate an operation, as in the TECO and vi text editors.
What does modern ESC code do?
most often used as an out-of-band character used to terminate an operation