diff options
Diffstat (limited to 'core/Core.zig')
| -rw-r--r-- | core/Core.zig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/Core.zig b/core/Core.zig index 2c6567ed..f5ed28bd 100644 --- a/core/Core.zig +++ b/core/Core.zig @@ -1070,6 +1070,7 @@ fn acknowledgeShellInner(p: *Pardes, id: Pane.Id, executable: []const u8, prompt if (id.index() < MAX_PANES) if (p.panes[id.index()]) |pane| { ctlfs.pty.shellGone(p, pane, true); // a respawn replaced whatever ran pane.shell_failed = false; + pane.greeted = false; pane.had_shell = true; pane.fs.unmarked = !prompt_marks; // The tag's Term word names the shell the host ran, and a click @@ -2010,6 +2011,7 @@ pub fn sync(p: *Pardes) void { p.emit(.{ .resize_pty = .{ .pane = .at(id), .cols = pane.cols, .rows = pane.rows } }); p.emitWrite(id, "ls\r"); pane.greet = false; + pane.greeted = true; }, }; } |
