Use 32-bit char comparison, update docs.

This commit is contained in:
Ryan Roden-Corrent 2025-04-30 06:44:52 -04:00
parent 984d3925d3
commit a5c43df2d5
No known key found for this signature in database
GPG key ID: 435D8B10692555C9
3 changed files with 9 additions and 4 deletions

View file

@ -278,7 +278,7 @@ urls_input(struct seat *seat, struct terminal *term,
switch (match->action) {
case URL_ACTION_COPY:
// If the last hint character was uppercase, copy and paste
if (wc >= 'A' && wc <= 'Z') {
if (wc == toc32upper(wc)) {
if (term->bracketed_paste)
term_to_slave(term, "\033[200~", 6);