mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
Merge pull request #4681 from PerBothner/dom-selection
Fix bug in selection handling in dom renderer
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user