Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions css/xterm.css
Original file line number Diff line number Diff line change
Expand Up @@ -183,3 +183,8 @@
right: 0;
pointer-events: none;
}

.xterm-decoration-top {
z-index: 2;
position: relative;
}
5 changes: 5 additions & 0 deletions src/browser/renderer/dom/DomRendererRowFactory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,11 @@ export class DomRendererRowFactory {
isTop = d.options.layer === 'top';
}

// If it's a top decoration, render on above the selection
Comment thread
Tyriar marked this conversation as resolved.
Outdated
if (isTop) {
charElement.classList.add(`xterm-decoration-top`);
}

// Foreground
switch (fgColorMode) {
case Attributes.CM_P16:
Expand Down