mirror of
https://github.com/anomalyco/opentui.git
synced 2026-04-24 20:45:56 +03:00
[GH-ISSUE #740] Bug: useKeyboard hook not responding and createSignal updates not reflecting on Windows (MINGW64/Git Bash) #971
Labels
No labels
bug
core
documentation
feature
good first issue
help wanted
pull-request
question
react
solid
tmux
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/opentui#971
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @cppsh1t on GitHub (Feb 25, 2026).
Original GitHub issue: https://github.com/anomalyco/opentui/issues/740
Issue Title
Bug:
useKeyboardhook not responding andcreateSignalupdates not reflecting on Windows (MINGW64/Git Bash)Issue Body
Description
I copied a simple counter example from the official OpenTUI Solid documentation. The example uses
useKeyboardto handle key presses (Up/Down arrows for counting, ESC to exit) andcreateSignalfor state management. However, neither the keyboard events nor the signal updates are working on Windows when running with Bun in a Git Bash (MINGW64) terminal.Reproduction Steps
bun create tuisrc/index.tsx(exactly as shown in the docs):bun run devExpected Behavior
Actual Behavior
useKeyboardcallback is never called (verified by adding console.log)Environment
OS and Terminal:
Runtime and Package Versions:
@opentui/core: 0.1.81@opentui/solid: 0.1.81solid-js: 1.9.9@cppsh1t commented on GitHub (Feb 25, 2026):
I first discovered the
useKeyboardissue while testing logs in another project that uses opentui. Later I switched to usinguseRenderer().keyInput.on("keypress", callback)directly and that successfully triggered events. I then discovered that signals were also not working properly, so I finally copied the simplest counter example to test and found it still doesn't work.@cppsh1t commented on GitHub (Feb 25, 2026):
issue repository: https://github.com/cppsh1t/test-opentui-signal