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

@ -3089,7 +3089,7 @@ term_osc8_close(struct terminal *term)
struct row *row = term->grid->rows[r];
switch (term->conf->osc8_underline) {
switch (term->conf->url.osc8_underline) {
case OSC8_UNDERLINE_ALWAYS:
for (int c = start_col; c <= end_col; c++)
row->cells[c].attrs.url = true;