mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-27 07:58:07 -04:00
urls: initial support for detecting URLs and rendering jump-labels
The jump labels work, but is currently hardcoded to use xdg-open
This commit is contained in:
parent
b255aea3ed
commit
2cc84db979
12 changed files with 503 additions and 28 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue