summaryrefslogtreecommitdiff
path: root/src/config.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.zig')
-rw-r--r--src/config.zig5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/config.zig b/src/config.zig
index 3a846206..c7078d8e 100644
--- a/src/config.zig
+++ b/src/config.zig
@@ -217,9 +217,6 @@ pub const back_out: []const Chord = &.{.{ .cp = Key.escape, .shift = true }};
pub const tty_toggle_default: u21 = 'b';
-// Projected colors below this contrast use the theme's more legible anchor.
-pub const tty_filter_min_contrast: f64 = 1.5;
-
// What a pty child is told it is talking to. Every pane is emulated by the
// bundled VT, so this describes pardes and never the terminal pardes itself
// was launched from — the child inherits the launcher's TERM otherwise, which
@@ -1818,6 +1815,7 @@ test "reference.typ's #fstree is the tree the session serves, file for file" {
for (std.enums.values(tree.TopFile)) |f| switch (f) {
.root => {},
.new => try served.put(gpa, "pane/new", {}),
+ .rules, .send => try served.put(gpa, try std.fmt.allocPrint(gpa, "plumb/{s}", .{f.fileName()}), {}),
else => try served.put(gpa, if (f.dir()) try std.fmt.allocPrint(gpa, "{s}/", .{f.fileName()}) else f.fileName(), {}),
};
try served.put(gpa, "os/", {});
@@ -1827,6 +1825,7 @@ test "reference.typ's #fstree is the tree the session serves, file for file" {
const under = if (f.inPty() and f != .pty) "pane/<n>/pty/" else "pane/<n>/";
try served.put(gpa, try std.fmt.allocPrint(gpa, "{s}{s}{s}", .{ under, f.fileName(), if (f.isDir()) "/" else "" }), {});
};
+ try served.put(gpa, "plumb/<port>", {});
try served.put(gpa, "col/<n>/", {});
for (std.enums.values(tree.ColFile)) |f| if (f != .dir)
try served.put(gpa, try std.fmt.allocPrint(gpa, "col/<n>/{s}", .{f.fileName()}), {});