fix: report effective OSC 11 background

This commit is contained in:
Igor Matuszewski 2026-06-19 18:52:18 +02:00 committed by Ashley Wulber
parent fde0f34137
commit 18d45bc88f
2 changed files with 14 additions and 1 deletions

View file

@ -3066,7 +3066,7 @@ impl Application for App {
&& let Some(terminal) = tab_model.data::<Mutex<Terminal>>(entity)
{
let terminal = terminal.lock().unwrap();
let rgb = terminal.colors()[index].unwrap_or_default();
let rgb = terminal.effective_color(index);
let text = f(rgb);
terminal.input_no_scroll(text.into_bytes());
}