aboutsummaryrefslogtreecommitdiff
path: root/server-fn.c
diff options
context:
space:
mode:
Diffstat (limited to 'server-fn.c')
-rw-r--r--server-fn.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/server-fn.c b/server-fn.c
index 2247f1c5..127afb6b 100644
--- a/server-fn.c
+++ b/server-fn.c
@@ -319,7 +319,7 @@ server_destroy_pane(struct window_pane *wp, int notify)
if (notify)
notify_pane("pane-died", wp);
- screen_write_start(&ctx, wp, &wp->base);
+ screen_write_start_pane(&ctx, wp, &wp->base);
screen_write_scrollregion(&ctx, 0, screen_size_y(ctx.s) - 1);
screen_write_cursormove(&ctx, 0, screen_size_y(ctx.s) - 1, 0);
screen_write_linefeed(&ctx, 1, 8);
@@ -335,8 +335,8 @@ server_destroy_pane(struct window_pane *wp, int notify)
tim);
} else if (WIFSIGNALED(wp->status)) {
screen_write_nputs(&ctx, -1, &gc,
- "Pane is dead (signal %d, %s)",
- WTERMSIG(wp->status),
+ "Pane is dead (signal %s, %s)",
+ sig2name(WTERMSIG(wp->status)),
tim);
}