mirror of
https://github.com/anomalyco/opencode.git
synced 2026-04-29 13:09:46 +00:00
fix(tui): mouse wheel ansi codes leaking into editor
This commit is contained in:
parent
8be1ca836c
commit
294d0e7ee3
35 changed files with 6104 additions and 61 deletions
13
packages/tui/input/paste.go
Normal file
13
packages/tui/input/paste.go
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
package input
|
||||
|
||||
// PasteEvent is an message that is emitted when a terminal receives pasted text
|
||||
// using bracketed-paste.
|
||||
type PasteEvent string
|
||||
|
||||
// PasteStartEvent is an message that is emitted when the terminal starts the
|
||||
// bracketed-paste text.
|
||||
type PasteStartEvent struct{}
|
||||
|
||||
// PasteEndEvent is an message that is emitted when the terminal ends the
|
||||
// bracketed-paste text.
|
||||
type PasteEndEvent struct{}
|
||||
Loading…
Add table
Add a link
Reference in a new issue