From c9a6277b4c5a08d587396c7bf597286d7b6efdaa Mon Sep 17 00:00:00 2001 From: stkhan Date: Thu, 26 May 2022 20:55:41 +0000 Subject: Added graphics patch --- st-0.8.5/st.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'st-0.8.5/st.h') 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); -- cgit v1.2.3