From 931e5010d51d1640c61034ada767715a544fa40b Mon Sep 17 00:00:00 2001 From: salmonik Date: Fri, 6 Feb 2026 02:14:51 +0100 Subject: apply scrollback patch and urlclick patch --- config.def.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'config.def.h') diff --git a/config.def.h b/config.def.h index 4f0b27e..375c248 100644 --- a/config.def.h +++ b/config.def.h @@ -481,3 +481,14 @@ static char ascii_printable[] = " !\"#$%&'()*+,-./0123456789:;<=>?" "@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_" "`abcdefghijklmnopqrstuvwxyz{|}~"; + +/* + * Open urls starting with urlprefixes, contatining urlchars + * by passing as ARG1 to urlhandler. + */ +char* urlhandler = "xdg-open"; +char urlchars[] = + "ABCDEFGHIJKLMNOPQRSTUVWXYZ" + "abcdefghijklmnopqrstuvwxyz" + "0123456789-._~:/?#@!$&'*+,;=%"; +char* urlprefixes[] = {"http://", "https://", NULL}; -- cgit v1.2.3