mirror of
https://github.com/termux/termux-app
synced 2024-06-17 14:47:08 +00:00
Merge 1280c77163
into 2f40df91e5
This commit is contained in:
commit
762d9f9539
|
@ -116,10 +116,11 @@ public final class TerminalColorScheme {
|
|||
int backgroundColor = mDefaultColors[TextStyle.COLOR_INDEX_BACKGROUND];
|
||||
int brightness = TerminalColors.getPerceivedBrightnessOfColor(backgroundColor);
|
||||
if (brightness > 0) {
|
||||
if (brightness < 130)
|
||||
if (brightness < 130){
|
||||
mDefaultColors[TextStyle.COLOR_INDEX_CURSOR] = 0xffffffff;
|
||||
else
|
||||
} else{
|
||||
mDefaultColors[TextStyle.COLOR_INDEX_CURSOR] = 0xff000000;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user