Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |From e6ac257f362f8b879b62225bedca9e8aafef4f3b Mon Sep 17 00:00:00 2001 |From: bakkeby |Date: Mon, 12 Jul 2021 09:35:04 +0200 |Subject: [PATCH] Add shortcut to spawn new terminal in the current dir | |Ctrl-Shift-Return now creates a new ST terminal, whose CWD is the same |as the parent st's CWD. | |This version of the patch does a double fork, a technique commonly used |by daemons to spawn orphan processes. | |This solution is specific to the swallow patch for dwm which traverses |the process tree to determine if the new window is a decendant of a |terminal window, in which case the new window should take the place of |the terminal window. | |The way the original newterm patch worked the new st terminal would be |a direct decendant of the parent st terminal process, which could lead |to the wrong terminal window being swallowed. | |The double fork method avoids this by leaving all new st terminals as |orphans, i.e. they will have no parent process. |--- | config.def.h | 1 + | st.c | 32 ++++++++++++++++++++++++++++++++ | st.h | 1 + | 3 files changed, 34 insertions(+) | |diff --git a/config.def.h b/config.def.h |index 6f05dce..9029e8d 100644 |--- a/config.def.h |+++ b/config.def.h -------------------------- Patching file config.def.h using Plan A... Hunk #1 succeeded at 199. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff --git a/st.c b/st.c |index ebdf360..cb79bc0 100644 |--- a/st.c |+++ b/st.c -------------------------- Patching file st.c using Plan A... Hunk #1 succeeded at 153. Hunk #2 succeeded at 1061. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff --git a/st.h b/st.h |index fa2eddf..b13399b 100644 |--- a/st.h |+++ b/st.h -------------------------- Patching file st.h using Plan A... Hunk #1 succeeded at 81. Hmm... Ignoring the trailing garbage. done