repos / zmx

session persistence for terminal processes
git clone https://github.com/neurosnap/zmx.git

commit
220db23
parent
cdbd72a
author
Eric Bower
date
2025-10-13 11:42:06 -0400 EDT
fix: change detach key to ctrl+b d like tmux
1 files changed,  +1, -1
M src/config.zig
+1, -1
1@@ -4,7 +4,7 @@ const toml = @import("toml");
2 pub const Config = struct {
3     socket_path: []const u8 = "/tmp/zmx.sock",
4     socket_path_allocated: bool = false,
5-    detach_prefix: u8 = 0x00, // Ctrl+Space
6+    detach_prefix: u8 = 0x02, // Ctrl+B (like tmux)
7     detach_key: u8 = 'd',
8 
9     pub fn load(allocator: std.mem.Allocator) !Config {