aboutsummaryrefslogtreecommitdiff
path: root/terminal.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-01-31 10:12:07 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-02-07 15:33:31 +0000
commit2cc84db97978388475504592c88911046bcd2eb6 (patch)
tree91efd350b53a6b296c0e78eb5781ef0e59cdddbf /terminal.c
parentconfig: free URL bindings (diff)
urls: initial support for detecting URLs and rendering jump-labels
The jump labels work, but is currently hardcoded to use xdg-open
Diffstat (limited to 'terminal.c')
-rw-r--r--terminal.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/terminal.c b/terminal.c
index 701313cc..1eed0966 100644
--- a/terminal.c
+++ b/terminal.c
@@ -36,6 +36,7 @@
#include "sixel.h"
#include "slave.h"
#include "spawn.h"
+#include "url-mode.h"
#include "util.h"
#include "vt.h"
#include "xmalloc.h"
@@ -1485,6 +1486,7 @@ term_destroy(struct terminal *term)
tll_free(term->alt.sixel_images);
sixel_fini(term);
+ urls_reset(term);
term_ime_reset(term);
free(term->foot_exe);
@@ -2963,3 +2965,4 @@ term_ime_set_cursor_rect(struct terminal *term, int x, int y, int width,
}
#endif
}
+