config: move url-mode related options to a dedicated section, ‘url’

This commit is contained in:
Daniel Eklöf 2021-05-20 17:56:56 +02:00
parent 28d27f49bf
commit 0f483d65ce
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
7 changed files with 140 additions and 51 deletions

View file

@ -65,7 +65,6 @@ struct config {
char *title;
char *app_id;
wchar_t *word_delimiters;
wchar_t *jump_label_letters;
bool login_shell;
bool no_wait;
@ -128,6 +127,16 @@ struct config {
double multiplier;
} scrollback;
struct {
wchar_t *label_letters;
struct config_spawn_template launch;
enum {
OSC8_UNDERLINE_URL_MODE,
OSC8_UNDERLINE_ALWAYS,
} osc8_underline;
} url;
struct {
uint32_t fg;
uint32_t bg;
@ -213,12 +222,6 @@ struct config {
} selection_target;
struct config_spawn_template notify;
struct config_spawn_template url_launch;
enum {
OSC8_UNDERLINE_URL_MODE,
OSC8_UNDERLINE_ALWAYS,
} osc8_underline;
struct {
enum fcft_scaling_filter fcft_filter;