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:
Utkarsh Verma 2024-10-15 09:54:45 +02:00 committed by GitHub
parent 3f1a5ed034
commit c4c5113fbd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 136 additions and 11 deletions

3
st.h
View file

@ -205,6 +205,9 @@ typedef struct {
ImageList *images_alt; /* sixel images for alternate screen */
#endif // SIXEL_PATCH
Rune lastc; /* last printed char outside of sequence, 0 if control */
#if OSC7_PATCH
char* cwd; /* current working directory */
#endif // OSC7_PATCH
} Term;
typedef union {