You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
opentui: Arrow Up/Down in input cause segfaults #3221
When I use the arrow down or up with opentui, it just crashes the TUI, here is the log:
=== FATAL ERROR OCCURRED ===
Console cache:
2025-10-16T16:50:27.289Z LOG server.connected
2025-10-16T16:50:27.308Z LOG
2025-10-16T16:50:27.313Z LOG {"type":"home"}
2025-10-16T16:50:31.923Z ERROR TypeError: undefined is not an object (evaluating 'store.prompt.input')
Error details:
undefined is not an object (evaluating 'store.prompt.input')
Error
at <anonymous> (/$bunfs/root/src/index.js:129571:143)
at runComputation (/$bunfs/root/src/index.js:123052:24)
at updateComputation (/$bunfs/root/src/index.js:123035:17)
at runTop (/$bunfs/root/src/index.js:123158:24)
at runUserEffects (/$bunfs/root/src/index.js:123271:13)
at runUpdates (/$bunfs/root/src/index.js:123179:20)
at completeUpdates (/$bunfs/root/src/index.js:123239:15)
at runUpdates (/$bunfs/root/src/index.js:123180:20)
at setStore (/$bunfs/root/src/index.js:126741:10)
at <anonymous> (/$bunfs/root/src/index.js:129463:19)
This issue might be a duplicate of existing issues. Please check:
opentui not able to use "alt" keybinds #3219: opentui not able to use "alt" keybinds - Reports issues with keybinds not working on opentui branch, specifically with alt key combinations on macOS/Ghostty
The error you're experiencing with "undefined is not an object (evaluating 'store.prompt.input')" appears to be specific to the opentui branch and related to input handling when using arrow keys for navigation.
Feel free to ignore if none of these address your specific case.
Activity
github-actions commentedon Oct 16, 2025
This issue might be a duplicate of existing issues. Please check:
option+ left arrow key on MacBook with high CPU usage #2688: Opencode freezes when pressing option + left arrow key on MacBook with high CPU usage - Reports freezing when using arrow key combinations, though different key combinationThe error you're experiencing with "undefined is not an object (evaluating 'store.prompt.input')" appears to be specific to the opentui branch and related to input handling when using arrow keys for navigation.
Feel free to ignore if none of these address your specific case.
Isos9 commentedon Oct 16, 2025
Forgot to mention that it's on Alacritty
thdxr commentedon Oct 21, 2025
can you reproduce this on latest? i think we fixed the stack trace so it shows more useful info
Isos9 commentedon Oct 21, 2025
well now it doesn't crash anymore, it cycle through previous messages
thdxr commentedon Oct 22, 2025
believe this is fixed