pass theme

This commit is contained in:
Gregor Lohaus
2026-09-08 11:00:13 +02:00
parent 2a4945b363
commit 567ffd76b2
+1 -1
View File
@@ -582,7 +582,7 @@ mod tests {
..Default::default()
};
ctx.set_fonts(crate::fonts::load(&config).unwrap());
let mut term = crate::pane::terminal(&config).unwrap();
let mut term = crate::pane::terminal(&config, &theme::DEFAULT).unwrap();
term.resize(20, 2, 8, 16).unwrap();
term.vt_write(b"M\x1b[1mM\x1b[22;3mM\x1b[1mM\x1b[0mM");
let mut renderer = Renderer::new().unwrap();