From 714da820136ac89d6a79ed0141e7325829ab8204 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Tue, 29 Sep 2026 21:44:44 -0300 Subject: F1-F25, Insert and the keypad reach a GUI's terminal panes: one vaxis key map, vaxis_input.zig, for the tty, the gui and the board The vaxis-to-Event key mapping was copied in tty.zig, gui.zig and esp32p4.zig, and the copies had drifted: the gui's (its stdin feed, which test windows and a gui started in a terminal read) had 9 arms against the tty's 26, without the function keys, Insert or the keypad, so they reached a terminal pane as private-use codepoints. vaxis_input.zig holds effCp, mapKey and keyEvent once; the gui posts through postKey, and a test runs F5, Insert and the keypad's Up through it into a terminal pane. Co-Authored-By: Claude Opus 5.5 --- src/main.zig | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main.zig') diff --git a/src/main.zig b/src/main.zig index 6ea05479..17d0fb5f 100644 --- a/src/main.zig +++ b/src/main.zig @@ -525,6 +525,7 @@ test { _ = @import("fs.zig"); _ = @import("detached/wire.zig"); _ = @import("ShaderBuild.zig"); + _ = @import("vaxis_input.zig"); _ = @import("detached/server.zig"); _ = @import("detached/client.zig"); _ = @import("9p_io.zig"); -- cgit v1.3