diff options
Diffstat (limited to 'sysutils/tmux/files')
| -rw-r--r-- | sysutils/tmux/files/extra-patch-tty-keys.c | 4 | ||||
| -rw-r--r-- | sysutils/tmux/files/patch-spawn.c | 23 |
2 files changed, 2 insertions, 25 deletions
diff --git a/sysutils/tmux/files/extra-patch-tty-keys.c b/sysutils/tmux/files/extra-patch-tty-keys.c index e5ba76024e33..89d568168a62 100644 --- a/sysutils/tmux/files/extra-patch-tty-keys.c +++ b/sysutils/tmux/files/extra-patch-tty-keys.c @@ -1,6 +1,6 @@ ---- tty-keys.c.orig 2019-05-01 06:07:32 UTC +--- tty-keys.c.orig 2020-04-24 08:57:17 UTC +++ tty-keys.c -@@ -704,8 +704,6 @@ complete_key: +@@ -719,8 +719,6 @@ complete_key: * used. termios should have a better idea. */ bspace = tty->tio.c_cc[VERASE]; diff --git a/sysutils/tmux/files/patch-spawn.c b/sysutils/tmux/files/patch-spawn.c deleted file mode 100644 index 97adfa7bfcce..000000000000 --- a/sysutils/tmux/files/patch-spawn.c +++ /dev/null @@ -1,23 +0,0 @@ -From 54efe337993b5571728a09b247c7f39d493659a8 Mon Sep 17 00:00:00 2001 -From: Nicholas Marriott <nicholas.marriott@gmail.com> -Date: Wed, 18 Dec 2019 15:58:06 +0000 -Subject: [PATCH] Add back utempter code, reported by Peter Schellenbach. - ---- spawn.c.orig 2019-12-01 08:47:31 UTC -+++ spawn.c -@@ -424,6 +424,15 @@ spawn_pane(struct spawn_context *sc, char **cause) - _exit(1); - - complete: -+#ifdef HAVE_UTEMPTER -+ if (~new_wp->flags & PANE_EMPTY) { -+ xasprintf(&cp, "tmux(%lu).%%%u", (long)getpid(), new_wp->id); -+ utempter_add_record(new_wp->fd, cp); -+ kill(getpid(), SIGCHLD); -+ free(cp); -+ } -+#endif -+ - new_wp->pipe_off = 0; - new_wp->flags &= ~PANE_EXITED; - |
