From 64d2eb519923ac5a4d0dbd8ace95cb5ac2639dfe Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Fri, 14 Nov 2025 12:32:54 -0600 Subject: apply newterm patch with tmux support Applied st-newterm-0.9.diff and st-newterm-0.9-tmux.diff with minor manual adjustments: - Added newterm() function declaration to st.h - Added Ctrl-Shift-Return keybinding to spawn new terminal - Integrated tmux-aware working directory detection Benefits: - Spawn new st instance with Ctrl-Shift-Return - New terminal inherits current working directory - Tmux-aware: detects CWD of current process in tmux session - Improves workflow efficiency for multi-terminal usage Note: tmux support is Linux-only and requires tmux to be direct child of st --- st.h | 1 + 1 file changed, 1 insertion(+) (limited to 'st.h') diff --git a/st.h b/st.h index e320538..9cf12fd 100644 --- a/st.h +++ b/st.h @@ -87,6 +87,7 @@ void draw(void); void kscrolldown(const Arg *); void kscrollup(const Arg *); +void newterm(const Arg *); void printscreen(const Arg *); void printsel(const Arg *); void sendbreak(const Arg *); -- cgit v1.2.3