Show signal name when process exits rather than number.

This commit is contained in:
nicm
2020-04-16 07:28:36 +00:00
parent b6dfca9b4d
commit a2e47b5279
3 changed files with 15 additions and 2 deletions

View File

@ -334,8 +334,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);
}