Rename ITheme.selection to selectionBackground

This makes it consistent with selectionForeground and other theme keys and
as a result will make the API easier to work with, especially when inactive
selection is done (#3803)
This commit is contained in:
Daniel Imms
2022-07-29 10:34:27 -07:00
parent df14ce49d7
commit 9cb25fbf06
12 changed files with 20 additions and 20 deletions
@@ -85,7 +85,7 @@ export class SelectionRenderLayer extends BaseRenderLayer {
return;
}
this._ctx.fillStyle = this._colors.selectionTransparent.css;
this._ctx.fillStyle = this._colors.selectionBackgroundTransparent.css;
if (columnSelectMode) {
const startCol = start[0];
@@ -15,7 +15,7 @@ export function generateConfig(scaledCharWidth: number, scaledCharHeight: number
background: colors.background,
cursor: undefined,
cursorAccent: undefined,
selection: undefined,
selectionBackground: undefined,
ansi: colors.ansi.slice()
};
return {