mirror of https://github.com/adamdruppe/arsd.git
ugh dub sux
This commit is contained in:
parent
7873768fd1
commit
6d3a12213b
|
@ -1048,7 +1048,7 @@ struct Terminal {
|
||||||
bool hasDefaultDarkBackground() {
|
bool hasDefaultDarkBackground() {
|
||||||
version(Win32Console) {
|
version(Win32Console) {
|
||||||
return !(defaultBackgroundColor & 0xf);
|
return !(defaultBackgroundColor & 0xf);
|
||||||
} version(TerminalDirectToEmulator) {
|
} else version(TerminalDirectToEmulator) {
|
||||||
return integratedTerminalEmulatorConfiguration.defaultBackground.g < 100;
|
return integratedTerminalEmulatorConfiguration.defaultBackground.g < 100;
|
||||||
} else {
|
} else {
|
||||||
// FIXME: there is probably a better way to do this
|
// FIXME: there is probably a better way to do this
|
||||||
|
|
Loading…
Reference in New Issue