focus.go 288 B

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