Raise max number of lines to scan for continued URL to 20

Fixes #9264
This commit is contained in:
Kovid Goyal
2025-12-03 12:50:29 +05:30
parent fee4cb0975
commit 6cfc2ea38f

View File

@@ -4011,7 +4011,7 @@ extend_url(Screen *screen, Line *line, index_type *x, index_type *y, char_type s
unsigned int count = 0;
bool has_newline = false;
index_type orig_y = *y;
while (count++ < 10) {
while (count++ < 20) {
bool in_hostname = last_hostname_char_pos >= line->xnum;
has_newline = !line->cpu_cells[line->xnum-1].next_char_was_wrapped;
if (next_char_pos(line, *x, 1) < line->xnum || (!newlines_allowed && has_newline)) break;