Press ESC to close

how to detect