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
+1 -1
View File
@@ -267,7 +267,7 @@ declare module 'xterm' {
/** The accent color of the cursor (fg color for a block cursor) */
cursorAccent?: string;
/** The selection background color (can be transparent) */
selection?: string;
selectionBackground?: string;
/** The selection foreground color */
selectionForeground?: string;
/** ANSI black (eg. `\x1b[30m`) */