summaryrefslogtreecommitdiff
path: root/src/main.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-09-29 21:44:44 -0300
committerGabriel Schneider <[email protected]>2026-10-01 00:12:17 -0300
commit714da820136ac89d6a79ed0141e7325829ab8204 (patch)
treebb9126953ddabb1321e04527c128bbf4a1f7cff0 /src/main.zig
parent45609211f5047b5aec9964807cd5c98242cc70d7 (diff)
downloadpardes-714da820136ac89d6a79ed0141e7325829ab8204.tar.gz
pardes-714da820136ac89d6a79ed0141e7325829ab8204.zip
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 <[email protected]>
Diffstat (limited to 'src/main.zig')
-rw-r--r--src/main.zig1
1 files changed, 1 insertions, 0 deletions
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");