diff options
Diffstat (limited to 'src/builtins.zig')
| -rw-r--r-- | src/builtins.zig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/builtins.zig b/src/builtins.zig index 3f1c5f85..ca3cf931 100644 --- a/src/builtins.zig +++ b/src/builtins.zig @@ -569,6 +569,17 @@ pub const Del = struct { } }; +/// Project this terminal's displayed cell foregrounds and backgrounds through +/// the current Pardes theme. The emulator keeps its original colour state; +/// only this pane's rendered cells change, so OSC queries and later resets +/// remain truthful. +pub const Filter = struct { + pub fn run(c: Ctx) void { + if (!c.pane.isTerminal()) return; + c.pane.tty_filter = !c.pane.tty_filter; + } +}; + pub const Delcol = struct { pub fn run(c: Ctx) void { const f = c.p.layoutFindTerm(c.id) orelse return; |
