index.md (1233B)
1 New terminal in current directory 2 ================================= 3 4 This patch allows you to spawn a new st terminal using Ctrl-Shift-Return. It 5 will have the same CWD (current working directory) as the original st instance. 6 7 The `getcwd_by_pid` function is inspired on [the function with the same name of 8 dvtm](https://github.com/martanne/dvtm/blob/master/dvtm.c#L1036). 9 10 By default the current st terminal will be the parent process of the new terminal. 11 This can conflict with the swallow patch for dwm and can result in the wrong st 12 terminal window being swallowd. The orphan variant of this patch works around this 13 issue by spawning the new terminal window as an orphan instead (meaning that it 14 will have no parent process). 15 16 To have newterm working with tabbed, apply the st-newterm-0.8.2-tabbed.diff patch 17 on top of st-newterm-0.8.2.diff. 18 19 Download 20 -------- 21 22 * [st-newterm-0.8.2.diff](st-newterm-0.8.2.diff) 23 * [st-newterm-0.8.2-tabbed.diff](st-newterm-0.8.2-tabbed.diff) 24 * [st-newterm-orphan-20210712-4536f46.diff](st-newterm-orphan-20210712-4536f46.diff) 25 * [st-newterm-20220221-0.8.5.diff](st-newterm-20220221-0.8.5.diff) 26 27 Authors 28 ------- 29 * MatÃas Lang 30 * Stein Bakkeby (orphan version) 31 * Gaspar Vardanyan (tabbed support)