summaryrefslogtreecommitdiff
path: root/src/keys.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/keys.zig')
-rw-r--r--src/keys.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/keys.zig b/src/keys.zig
index 49ed00c0..7703d573 100644
--- a/src/keys.zig
+++ b/src/keys.zig
@@ -176,7 +176,7 @@ pub fn handleKey(p: *Pardes, key: Key) void {
tagline.focusedHeader(p) == null;
if (raw_esc and key.shift) {
p.view().prefix = .none;
- panes.terminal.followOutput(pane);
+ pane.followOutput();
var plain = key;
plain.shift = false;
return panes.terminal.forwardKey(p, p.view().active, plain);
@@ -210,7 +210,7 @@ pub fn handleKey(p: *Pardes, key: Key) void {
p.view().prefix = .none;
if (key.ctrl and !key.alt and key.cp == p.tty_toggle)
return toggleTty(p, p.view().active);
- panes.terminal.followOutput(pane); // typing snaps back to live output
+ pane.followOutput(); // typing snaps back to live output
// Paste stays the window's, the one exception to forwarding a raw
// tty's keys: Ctrl-V types the register at the program and
// Ctrl-Shift-V asks the desktop for its clipboard first. Forwarded,