This commit is contained in:
meganrogge
2022-03-18 14:46:49 -04:00
parent 47ec31361c
commit 01fd148673
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -62,7 +62,6 @@ export class SearchAddon implements ITerminalAddon {
public activate(terminal: Terminal): void {
this._terminal = terminal;
// TODO: should this be using on buffer changed instead?
this._terminal.onData(() => this._dataChanged = true);
}
@@ -578,8 +577,9 @@ export class SearchAddon implements ITerminalAddon {
// decoration's clientWidth = actualCellWidth
e.style.left = `${e.clientWidth * result.col}px`;
e.style.width = `${e.clientWidth * result.term.length}px`;
}
});
e.style.backgroundColor = color;
e.style.color = color;
}});
return findResultDecoration;
}
}
+1 -1
View File
@@ -180,9 +180,9 @@
}
.xterm-find-result-decoration {
background-color: grey;
opacity: 60%;
}
.xterm-decoration-overview-ruler {
z-index: 7;
position: absolute;