Press ESC to close

how to refactor code with chatgpt