mirror of
https://github.com/anomalyco/opencode.git
synced 2026-04-30 13:39:52 +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
7
packages/tui/input/cursor.go
Normal file
7
packages/tui/input/cursor.go
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
package input
|
||||
|
||||
import "image"
|
||||
|
||||
// CursorPositionEvent represents a cursor position event. Where X is the
|
||||
// zero-based column and Y is the zero-based row.
|
||||
type CursorPositionEvent image.Point
|
||||
Loading…
Add table
Add a link
Reference in a new issue