Skip to content

Fix: correct console text background color - #386

Merged
Yaya-Cout merged 1 commit into
UpsilonNumworks:upsilon-devfrom
LukasMFR:fix-console-text-background
Nov 2, 2025
Merged

Fix: correct console text background color#386
Yaya-Cout merged 1 commit into
UpsilonNumworks:upsilon-devfrom
LukasMFR:fix-console-text-background

Conversation

@LukasMFR

@LukasMFR LukasMFR commented Nov 2, 2025

Copy link
Copy Markdown

Description

This pull request changes the background color used behind console text lines.
Previously, non-highlighted console lines were drawn using Palette::BackgroundApps.
This caused a mismatch with the expected Palette::CodeBackground used elsewhere in the Python app.

Changes

  • In console_line_cell.cpp, replaced:
  Palette::BackgroundApps

with:

Palette::CodeBackground

in ConsoleLineCell::ScrollableConsoleLineView::ConsoleLineView::drawRect().

Replaces Palette::BackgroundApps with Palette::CodeBackground for highlighted console lines to ensure consistent background color.
@Yaya-Cout
Yaya-Cout merged commit 84fe92e into UpsilonNumworks:upsilon-dev Nov 2, 2025
1 check passed
@github-actions

github-actions Bot commented Nov 2, 2025

Copy link
Copy Markdown

||.text|.rodata|.bss|.data|Total (RAM)|Total (ROM)|%0A|-|-:|-:|-:|-:|-:|-:|%0A|Base|822620 bytes|478609 bytes|226512 bytes|1820 bytes|228332 bytes|1303049 bytes|%0A|Head|822612 bytes|478609 bytes|226512 bytes|1820 bytes|228332 bytes|1303041 bytes|%0A||-8 bytes|+0 bytes|+0 bytes|+0 bytes|+0 bytes|-8 bytes|%0A||-0.0 %25|+0.0 %25|+0.0 %25|+0.0 %25|+0.0 %25|-0.0 %25|%0A

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants