mirror of
https://github.com/TermoraDev/termora.git
synced 2026-03-31 13:22:18 +08:00
fix: focus mode causes the background color to be selected incorrectly
This commit is contained in:
@@ -326,7 +326,8 @@ class TerminalDisplay(
|
||||
// Focus Mode
|
||||
if (terminalModel.getData(TerminalPanel.FocusMode, false)) {
|
||||
if (terminalModel.isAlternateScreenBuffer().not()) {
|
||||
if (isCursorLine.not()) {
|
||||
// https://github.com/TermoraDev/termora/issues/1471
|
||||
if (isCursorLine.not() && hasSelection.not()) {
|
||||
background = colorPalette.getColor(TerminalColor.Basic.BACKGROUND)
|
||||
foreground = UIManager.getColor("textInactiveText").rgb
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user