summaryrefslogtreecommitdiff
path: root/st.h
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2022-08-15 08:02:47 -0400
committerLuke Smith <luke@lukesmith.xyz>2022-08-15 08:02:47 -0400
commit6f33b1ba55f3aea06b870cd4e384b022ecc695c9 (patch)
tree96e084ff52fa64865003e50f65cc46861e2e950d /st.h
parent3144a61c180b678f6b1c23f06e4b434090199fcb (diff)
parent5858b22bef5f980271178272fa4e690dbfcc4c0b (diff)
Merge branch 'equwal-lukesmith-0.8.5'
Diffstat (limited to 'st.h')
-rw-r--r--st.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/st.h b/st.h
index 3ddfadd..60d973a 100644
--- a/st.h
+++ b/st.h
@@ -88,6 +88,7 @@ void draw(void);
void externalpipe(const Arg *);
void kscrolldown(const Arg *);
void kscrollup(const Arg *);
+
void printscreen(const Arg *);
void printsel(const Arg *);
void sendbreak(const Arg *);
@@ -98,7 +99,7 @@ void tnew(int, int);
void tresize(int, int);
void tsetdirtattr(int);
void ttyhangup(void);
-int ttynew(char *, char *, char *, char **);
+int ttynew(const char *, char *, const char *, char **);
size_t ttyread(void);
void ttyresize(int, int);
void ttywrite(const char *, size_t, int);
@@ -116,7 +117,7 @@ size_t utf8encode(Rune, char *);
void *xmalloc(size_t);
void *xrealloc(void *, size_t);
-char *xstrdup(char *);
+char *xstrdup(const char *);
int isboxdraw(Rune);
ushort boxdrawindex(const Glyph *);
@@ -141,3 +142,5 @@ extern unsigned int defaultbg;
extern float alpha;
extern float alphaUnfocus;
extern const int boxdraw, boxdraw_bold, boxdraw_braille;
+extern unsigned int defaultcs;
+