diff options
| author | Craig Jennings <c@cjennings.net> | 2025-11-14 12:32:54 -0600 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2025-11-14 12:32:54 -0600 |
| commit | 64d2eb519923ac5a4d0dbd8ace95cb5ac2639dfe (patch) | |
| tree | 3ed9c7471538e8cb805a2e0584bfd015bf2eaaee /st.h | |
| parent | 6aac8e849221321f6ef8dffcf1cde0c26602dabe (diff) | |
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
Diffstat (limited to 'st.h')
| -rw-r--r-- | st.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 *); |
