Skip to content

Commit

Permalink
Fix bug in selection handling in dom renderer
Browse files Browse the repository at this point in the history
  • Loading branch information
PerBothner committed Aug 16, 2023
1 parent 2f0a7ee commit 957e3e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/browser/renderer/dom/DomRendererRowFactory.ts
Expand Up @@ -166,11 +166,11 @@ export class DomRendererRowFactory {
cellAmount
&& (
(isInSelection && oldIsInSelection)
|| (!isInSelection && cell.bg === oldBg)
|| (!isInSelection && !oldIsInSelection && cell.bg === oldBg)
)
&& (
(isInSelection && oldIsInSelection && colors.selectionForeground)
|| (!(isInSelection && oldIsInSelection && colors.selectionForeground) && cell.fg === oldFg)
|| cell.fg === oldFg
)
&& cell.extended.ext === oldExt
&& isLinkHover === oldLinkHover
Expand Down

0 comments on commit 957e3e0

Please sign in to comment.