paste.go 378 B

123456789101112
  1. package input
  2. // PasteEvent is an event that is emitted when a terminal receives pasted text
  3. // using bracketed-paste.
  4. type PasteEvent string
  5. // PasteStartEvent is an event that is emitted when a terminal enters
  6. // bracketed-paste mode.
  7. type PasteStartEvent struct{}
  8. // PasteEvent is an event that is emitted when a terminal receives pasted text.
  9. type PasteEndEvent struct{}