aboutsummaryrefslogtreecommitdiff
path: root/log.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2022-11-30 09:51:45 +0000
committerDaniel Eklöf <daniel@ekloef.se>2022-11-30 09:51:45 +0000
commit76d494484f0b26f7785c0964cc412609d09607ca (patch)
treeb16682390a49d5b0bf861af91b057e6784edc597 /log.c
parentdoc: ctlseq: add trailing space to fix XTGETTCAP entry in DCS table (diff)
url-mode: tag cells after snapshot:ing the grid
Before this patch, hyperlinked cells were tagged with the “URL” attribute (thus instructing the renderer to draw an underline) *before* the grid was snapshot. When exiting URL mode, the cells were once again updated, this time removing the URL attribute. But what if an escape sequence had modified the grid _while we were in URL mode_? Depending on the sequence, it could move cells around in such a way, that when exiting URL mode, the affected cells weren’t updated correctly. I.e. we left some cells with the URL attribute still set. The fix is simple: tag cells in the snapshot:ed grid only (which isn’t affected by any escape sequence received while in URL mode). Not in the *actual* grid (which _is_ affected).
Diffstat (limited to 'log.c')
0 files changed, 0 insertions, 0 deletions