idk how the out of bounds happened but it is an expendable operation

This commit is contained in:
Adam D. Ruppe 2022-08-06 10:38:46 -04:00
parent 1365a05f5a
commit 124d08dc4e
1 changed files with 2 additions and 1 deletions

View File

@ -397,7 +397,8 @@ class TerminalEmulator {
} }
} }
sendHyperlinkData(buffer[0 .. end - start], number); if((cast(size_t) (end - start)) <= buffer.length)
sendHyperlinkData(buffer[0 .. end - start], number);
} }
} }
} }