summaryrefslogtreecommitdiffhomepage
path: root/packages/tui/input
diff options
context:
space:
mode:
authoradamdotdevin <[email protected]>2025-07-11 06:00:20 -0500
committeradamdotdevin <[email protected]>2025-07-11 06:00:20 -0500
commit22b244f847d62a2e3a73db54db25eeb8646df410 (patch)
tree8c54a536e8d10d2d2c2ca3656861b08ad635df46 /packages/tui/input
parent7e1fc275e70dcf068370d69f238d7749d5263d9a (diff)
downloadopencode-22b244f847d62a2e3a73db54db25eeb8646df410.tar.gz
opencode-22b244f847d62a2e3a73db54db25eeb8646df410.zip
fix(tui): actually fix mouse ansi codes leaking
Diffstat (limited to 'packages/tui/input')
-rw-r--r--packages/tui/input/driver.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/tui/input/driver.go b/packages/tui/input/driver.go
index ded96e756..710d99da1 100644
--- a/packages/tui/input/driver.go
+++ b/packages/tui/input/driver.go
@@ -160,11 +160,11 @@ func (d *Reader) readEvents() ([]Event, error) {
}
switch ev.(type) {
- case UnknownEvent:
- // If the sequence is not recognized by the parser, try looking it up.
- if k, ok := d.table[string(buf[i:i+nb])]; ok {
- ev = KeyPressEvent(k)
- }
+ // case UnknownEvent:
+ // // If the sequence is not recognized by the parser, try looking it up.
+ // if k, ok := d.table[string(buf[i:i+nb])]; ok {
+ // ev = KeyPressEvent(k)
+ // }
case PasteStartEvent:
d.paste = []byte{}
case PasteEndEvent: