[GH-ISSUE #313] Examples do not work - Mouse and Keyboard Input Not Mapping to TUI instance #845

Closed
opened 2026-03-14 08:48:23 +03:00 by kerem · 2 comments
Owner

Originally created by @DmacMcgreg on GitHub (Nov 13, 2025).
Original GitHub issue: https://github.com/anomalyco/opentui/issues/313

Here I am moving my mouse around and hitting up and down arrow keys.
I've tried clearing my .zshrc of basically everything, and the same issue.
Tested in VSCode terminal, Native terminal, and Warp

MacOS 15.6.1
Bun 1.3.2

Image

zig env
.{
.zig_exe = "/opt/homebrew/Cellar/zig/0.15.2/bin/zig",
.lib_dir = "/opt/homebrew/Cellar/zig/0.15.2/lib/zig",
.std_dir = "/opt/homebrew/Cellar/zig/0.15.2/lib/zig/std",
.global_cache_dir = ".cache/zig",
.version = "0.15.2",
.target = "aarch64-macos.15.6.1...15.6.1-none",
.env = .{
.ZIG_GLOBAL_CACHE_DIR = null,
.ZIG_LOCAL_CACHE_DIR = null,
.ZIG_LIB_DIR = null,
.ZIG_LIBC = null,
.ZIG_BUILD_RUNNER = null,
.ZIG_VERBOSE_LINK = null,
.ZIG_VERBOSE_CC = null,
.ZIG_BTRFS_WORKAROUND = null,
.ZIG_DEBUG_CMD = null,
.CC = null,
.NO_COLOR = null,
.CLICOLOR_FORCE = null,
.XDG_CACHE_HOME = null,
.HOME = "redacted",
},
}

Originally created by @DmacMcgreg on GitHub (Nov 13, 2025). Original GitHub issue: https://github.com/anomalyco/opentui/issues/313 Here I am moving my mouse around and hitting up and down arrow keys. I've tried clearing my .zshrc of basically everything, and the same issue. Tested in VSCode terminal, Native terminal, and Warp MacOS 15.6.1 Bun 1.3.2 ![Image](https://github.com/user-attachments/assets/62318a82-3115-46e0-955f-bdb138531de0) zig env .{ .zig_exe = "/opt/homebrew/Cellar/zig/0.15.2/bin/zig", .lib_dir = "/opt/homebrew/Cellar/zig/0.15.2/lib/zig", .std_dir = "/opt/homebrew/Cellar/zig/0.15.2/lib/zig/std", .global_cache_dir = ".cache/zig", .version = "0.15.2", .target = "aarch64-macos.15.6.1...15.6.1-none", .env = .{ .ZIG_GLOBAL_CACHE_DIR = null, .ZIG_LOCAL_CACHE_DIR = null, .ZIG_LIB_DIR = null, .ZIG_LIBC = null, .ZIG_BUILD_RUNNER = null, .ZIG_VERBOSE_LINK = null, .ZIG_VERBOSE_CC = null, .ZIG_BTRFS_WORKAROUND = null, .ZIG_DEBUG_CMD = null, .CC = null, .NO_COLOR = null, .CLICOLOR_FORCE = null, .XDG_CACHE_HOME = null, .HOME = "redacted", }, }
kerem closed this issue 2026-03-14 08:48:28 +03:00
Author
Owner

@kommander commented on GitHub (Nov 13, 2025):

Mhh seems it somehow fails to set the input to raw, I'll check.

<!-- gh-comment-id:3529423293 --> @kommander commented on GitHub (Nov 13, 2025): Mhh seems it somehow fails to set the input to raw, I'll check.
Author
Owner

@kommander commented on GitHub (Nov 13, 2025):

I couldn't figure out how to reconnect the piped stdin correctly for bun, so for now it just downloads it. But the executable should work.

<!-- gh-comment-id:3529734571 --> @kommander commented on GitHub (Nov 13, 2025): I couldn't figure out how to reconnect the piped stdin correctly for bun, so for now it just downloads it. But the executable should work.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/opentui#845
No description provided.