A new option to control when hyperlinks are underlined

While kitty is never going to underline detected URLs as the performance
of that is absurd, underlining hyperlinks specifically is acceptable,
since they dont require detection.

See #6766
This commit is contained in:
Kovid Goyal
2023-11-03 08:51:58 +05:30
parent 954b7f87a5
commit b4f88b4f81
10 changed files with 65 additions and 7 deletions

View File

@@ -39,7 +39,7 @@ typedef struct {
typedef struct {
SelectionBoundary start, end, input_start, input_current;
unsigned int start_scrolled_by, end_scrolled_by;
bool rectangle_select, adjusting_start;
bool rectangle_select, adjusting_start, is_hyperlink;
IterationData last_rendered;
int sort_y, sort_x;
struct {