bind-key -n silently non-functional; dispatcher abstraction bypassedFile: src/key_binding.zig:120-134, src/server/server.zig:1228-1238,
src/server/server.zig:1424, src/server/server.zig:1655-1662, src/server/server.zig:1857, src/server/server.zig:2006-2025
Severity: HIGH
Status: ✅ FIXED
cmdBindKey accepts -n root bindings (cmd.zig:1094), the config loader
stores them (server.zig:3095), and list-keys displays them (cmd.zig:677) —
but at runtime nothing ever looked them up.KeyDispatcher.dispatch() — which checks root_table — was bypassed in
production input paths in favor of manual prefix_table.lookup() calls.Production input paths bypassed the KeyDispatcher abstraction and
consulted only prefix_table.
Server.handleServerKey(self: *Server, k: Key) bool helper in src/server/server.zig
that dispatches keys through self.dispatcher.dispatch(k) and executes matched actions.root_table checks to:
root_table has a binding for the character).handleServerKey).handleServerKey).prefix_seen, then root_table, then prefix key, then copy-mode keys).root key table bind-key -n dispatching — bug #353 in src/server/server.zig tests function keys (F1), control keys (Ctrl-N), and root bindings triggered from within copy-mode.