summaryrefslogtreecommitdiff
path: root/core/keys.zig
diff options
context:
space:
mode:
Diffstat (limited to 'core/keys.zig')
-rw-r--r--core/keys.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/keys.zig b/core/keys.zig
index 91cb2724..9afb983b 100644
--- a/core/keys.zig
+++ b/core/keys.zig
@@ -804,7 +804,7 @@ test "raw tty forwards Ctrl letters and former global shortcuts to the child" {
}
p.update(.{ .key = .{ .cp = Key.up } });
try std.testing.expectEqualStrings("\x1b[A", test_api.ptyBytes(p, null, &buf));
- _ = pardes.Term.feed(p.panes[0].?.terminal.?, "\x1b[?1h", &.{}, &.{}, &.{}, &.{}); // DECCKM
+ _ = pardes.Term.feed(&p.outside, p.panes[0].?.terminal.?, "\x1b[?1h", &.{}, &.{}, &.{}, &.{}); // DECCKM
p.update(.{ .key = .{ .cp = Key.up } });
try std.testing.expectEqualStrings("\x1bOA", test_api.ptyBytes(p, null, &buf));
p.update(.{ .key = .{ .cp = Key.left, .ctrl = true } });