mirror of
https://github.com/tmux/tmux.git
synced 2025-01-07 16:28:48 +00:00
Trim newline from ctime, from Thomas Adam.
This commit is contained in:
parent
40e65c5115
commit
944177eec3
@ -341,6 +341,7 @@ server_destroy_pane(struct window_pane *wp, int notify)
|
|||||||
|
|
||||||
time(&t);
|
time(&t);
|
||||||
ctime_r(&t, tim);
|
ctime_r(&t, tim);
|
||||||
|
tim[strcspn(tim, "\n")] = '\0';
|
||||||
|
|
||||||
if (WIFEXITED(wp->status)) {
|
if (WIFEXITED(wp->status)) {
|
||||||
screen_write_nputs(&ctx, -1, &gc,
|
screen_write_nputs(&ctx, -1, &gc,
|
||||||
|
Loading…
Reference in New Issue
Block a user