ansi/focus.go
raw| 1 | package ansi |
| 2 | |
| 3 | // Focus is an escape sequence to notify the terminal that it has focus. |
| 4 | // This is used with [FocusEventMode]. |
| 5 | const Focus = "\x1b[I" |
| 6 | |
| 7 | // Blur is an escape sequence to notify the terminal that it has lost focus. |
| 8 | // This is used with [FocusEventMode]. |
| 9 | const Blur = "\x1b[O" |