Sebastian Herrlinger
Sebastian Herrlinger
Yes, that's what I wanted it to do and just test cover that with two small tests expecting the chars not to land in the text when modifiers are pressed.
/oc revert what you did there. All I wanted was the fix applied to Textarea as well, so that keys with modifiers do not end up as input. And if...
cleaned up in #375
Ah I think I see what's happening, the events are synchronous, so when calling s1.focus() it attaches the event listener immediately while still executing the key event, mutating the listeners...
How about I'll release a snapshot of this and we can test it on an opencode branch? Opencode branches can be used via `bunx opencode-ai@branch-name`.
I'll release a snapshot for opencode tomorrow then others can test as well.
I created a branch `bun-yoga-pr-356`, from where I can release snapshots. Can you PR against that? I released a snapshot [0.0.0-20251201-fe4cc80e](https://www.npmjs.com/package/@opentui/core/v/0.0.0-20251201-fe4cc80e) and tried to use that in opencode, but getting...
What is that crash in the tests? It doesn't fail on main.
Should bun-yoga be an external dependency? Otherwise it probably needs to have the binary packages as optional dependencies in the npm dist package it seems.
Getting this for the latest snapshot [0.0.0-20251202-52296102](https://www.npmjs.com/package/@opentui/core/v/0.0.0-20251202-52296102) when using it in opencode.