summaryrefslogtreecommitdiff
path: root/src/config.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-09-14 21:26:47 -0300
committerGabriel Schneider <[email protected]>2026-09-15 17:24:42 -0300
commita624a56e289e4a02a411f83741f0f2c9fc0f0b2e (patch)
treeb87e3ca10dd1c4417112164f792b5da1e26de0a6 /src/config.zig
parent95681ff7017b8a9e4c8f9fa6a7371d1233432f2f (diff)
downloadpardes-a624a56e289e4a02a411f83741f0f2c9fc0f0b2e.tar.gz
pardes-a624a56e289e4a02a411f83741f0f2c9fc0f0b2e.zip
Add Linux Tty9p mounted terminals and forward raw TTY keys
Diffstat (limited to 'src/config.zig')
-rw-r--r--src/config.zig8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/config.zig b/src/config.zig
index 865e2474..5e835fa0 100644
--- a/src/config.zig
+++ b/src/config.zig
@@ -118,6 +118,7 @@ pub const leader_path = paths: {
table.set(.Glitch, "tg");
}
if (builtins.EffectCode.enabled) table.set(.EffectCode, null);
+ if (builtins.Tty9p.enabled) table.set(.Tty9p, "n9");
if (pardes.hosted) {
table.set(.ThemeFile, null);
table.set(.DumpThemes, null);
@@ -209,13 +210,6 @@ pub const leave_pane: []const Chord = &.{.{ .cp = Key.escape, .shift = true }};
pub const tty_toggle_default: u21 = 'b';
pub const tty_toggle_alt: []const Chord = &.{.{ .cp = Key.escape, .shift = true }};
-// Test the shifted/system-clipboard chord first; unrequested shift is ignored.
-pub const tty_paste: []const Chord = &.{.{ .cp = 'v', .ctrl = true }};
-pub const tty_paste_clipboard: []const Chord = &.{
- .{ .cp = 'v', .ctrl = true, .shift = true },
- .{ .cp = 'V', .ctrl = true },
-};
-
// OSC 133 prompt cells are hidden in normal mode; input columns stay intact.
pub const tty_blank: enum { prompt, prompt_and_input } = .prompt;