diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2025-01-30 11:26:23 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2025-02-05 12:35:17 +0000 |
| commit | d41b28bd027affe67bfd8032a2041241df8be823 (patch) | |
| tree | 611738a609b7317dd47fdf14a729d958d1237b2b /config.h | |
| parent | config: remove url.{uri-characters,protocols} (diff) | |
url-mode+config: wip: add url.regex option
Diffstat (limited to 'config.h')
| -rw-r--r-- | config.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,7 +1,8 @@ #pragma once -#include <stdint.h> +#include <regex.h> #include <stdbool.h> +#include <stdint.h> #include <uchar.h> #include <xkbcommon/xkbcommon.h> @@ -219,6 +220,9 @@ struct config { OSC8_UNDERLINE_URL_MODE, OSC8_UNDERLINE_ALWAYS, } osc8_underline; + + char *regex; + regex_t preg; } url; struct { |
