summaryrefslogtreecommitdiff
path: root/st.h
diff options
context:
space:
mode:
authorunknown <“filip.rabiega@gmail.com”>2026-08-06 19:27:18 +0200
committerunknown <“filip.rabiega@gmail.com”>2026-08-06 19:27:18 +0200
commit8b6f0e3164c19736e65b730196c36cc23ce52470 (patch)
treed96dd027349e791e2f52bd20ea392b0649182775 /st.h
parent22ef20b6b12991a8624345c0f6782b1118cf7294 (diff)
downloadchadst-8b6f0e3164c19736e65b730196c36cc23ce52470.tar.gz
chadst-8b6f0e3164c19736e65b730196c36cc23ce52470.tar.bz2
chadst-8b6f0e3164c19736e65b730196c36cc23ce52470.zip
change fontmy_st
Diffstat (limited to 'st.h')
-rw-r--r--st.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/st.h b/st.h
index fd3b0d8..31921f3 100644
--- a/st.h
+++ b/st.h
@@ -33,6 +33,7 @@ enum glyph_attribute {
ATTR_WRAP = 1 << 8,
ATTR_WIDE = 1 << 9,
ATTR_WDUMMY = 1 << 10,
+ ATTR_URL = 1 << 11,
ATTR_BOLD_FAINT = ATTR_BOLD | ATTR_FAINT,
};
@@ -81,6 +82,8 @@ void die(const char *, ...);
void redraw(void);
void draw(void);
+void kscrolldown(const Arg *);
+void kscrollup(const Arg *);
void printscreen(const Arg *);
void printsel(const Arg *);
void sendbreak(const Arg *);
@@ -105,6 +108,10 @@ void selextend(int, int, int, int);
int selected(int, int);
char *getsel(void);
+void highlighturlsline(int);
+void unhighlighturlsline(int);
+int followurl(int, int);
+
size_t utf8encode(Rune, char *);
void *xmalloc(size_t);
@@ -124,3 +131,7 @@ extern unsigned int tabspaces;
extern unsigned int defaultfg;
extern unsigned int defaultbg;
extern unsigned int defaultcs;
+extern char *urlhandler;
+extern char urlchars[];
+extern char *urlprefixes[];
+extern int nurlprefixes;