diff options
| author | stkhan <personal@slickd.xyz> | 2022-05-26 20:55:41 +0000 |
|---|---|---|
| committer | stkhan <personal@slickd.xyz> | 2022-05-26 20:55:41 +0000 |
| commit | c9a6277b4c5a08d587396c7bf597286d7b6efdaa (patch) | |
| tree | f1f5fdfd9656f8f5e93bd7715e73fe51e0a05d93 /st-0.8.5/st.h | |
| parent | 2016aeaa085bc37b4c5d01d6bcf12cdfd2235ca1 (diff) | |
Added graphics patch
Diffstat (limited to 'st-0.8.5/st.h')
| -rw-r--r-- | st-0.8.5/st.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/st-0.8.5/st.h b/st-0.8.5/st.h index f82bbdd..f425fb6 100644 --- a/st-0.8.5/st.h +++ b/st-0.8.5/st.h @@ -60,6 +60,10 @@ typedef unsigned short ushort; typedef uint_least32_t Rune; +typedef struct TTYConn { + int cmdfd, pipefd; +} TTYConn; + #define Glyph Glyph_ typedef struct { Rune u; /* character code */ @@ -92,7 +96,7 @@ void tnew(int, int); void tresize(int, int); void tsetdirtattr(int); void ttyhangup(void); -int ttynew(const char *, char *, const char *, char **); +TTYConn ttynew(const char *, char *, const char *, char **); size_t ttyread(void); void ttyresize(int, int); void ttywrite(const char *, size_t, int); |