osc7: initial patch implementation (#154)
* osc7: initial patch implementation Closes #153 * osc7: avoid redundant use of realpath() * osc7: fix styling * Changing position of the OSC7_PATCH toggle in patches.def.h --------- Co-authored-by: Bakkeby <bakkeby@gmail.com>
This commit is contained in:
parent
3f1a5ed034
commit
c4c5113fbd
9 changed files with 136 additions and 11 deletions
|
|
@ -301,6 +301,14 @@
|
|||
*/
|
||||
#define OPENURLONCLICK_PATCH 0
|
||||
|
||||
/* This patch allows st to fetch the current working directory through the OSC 7 escape
|
||||
* sequence emitted by shells. Must be used with newterm patch.
|
||||
*
|
||||
* https://codeberg.org/dnkl/foot/wiki#spawning-new-terminal-instances-in-the-current-working-directory
|
||||
* https://github.com/veltza/st-sx/commit/817865c2c6ed905af8849580e58bdcf399216fbd
|
||||
*/
|
||||
#define OSC7_PATCH 0
|
||||
|
||||
/* This patch allows jumping between prompts by utilizing the OSC 133 escape sequence
|
||||
* emitted by shells. Must be used with either reflow or scrollback patch.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue