Draw selection underneath foreground

This commit is contained in:
Daniel Imms
2017-08-31 07:54:16 -07:00
parent dff3d16831
commit d3650d9d80
3 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
// TODO: Ideally colors would be exposed through some theme manager since colors // TODO: Ideally colors would be exposed through some theme manager since colors
// are moving to JS. // are moving to JS.
export const TANGO_COLORS = [ const TANGO_COLORS = [
// dark: // dark:
'#2e3436', '#2e3436',
'#cc0000', '#cc0000',
-1
View File
@@ -1,7 +1,6 @@
import { ISelectionRenderLayer } from './Interfaces'; import { ISelectionRenderLayer } from './Interfaces';
import { IBuffer, ICharMeasure, ITerminal } from '../Interfaces'; import { IBuffer, ICharMeasure, ITerminal } from '../Interfaces';
import { CHAR_DATA_ATTR_INDEX } from '../Buffer'; import { CHAR_DATA_ATTR_INDEX } from '../Buffer';
import { TANGO_COLORS } from './Color';
import { GridCache } from './GridCache'; import { GridCache } from './GridCache';
import { FLAGS } from './Types'; import { FLAGS } from './Types';
+2 -2
View File
@@ -165,8 +165,8 @@
} }
.terminal .xterm-bg-layer { z-index: 0; } .terminal .xterm-bg-layer { z-index: 0; }
.terminal .xterm-fg-layer { z-index: 1; } .terminal .xterm-selection-layer { z-index: 1; }
.terminal .xterm-selection-layer { z-index: 2; } .terminal .xterm-fg-layer { z-index: 2; }
.terminal .xterm-rows { .terminal .xterm-rows {
position: absolute; position: absolute;