mirror of
https://github.com/wez/wezterm.git
synced 2024-11-22 13:16:39 +03:00
really fix termwiz --all-features build
This commit is contained in:
parent
4c30131a6f
commit
c7c81e3161
@ -3,7 +3,7 @@
|
||||
mod inner {
|
||||
use termwiz::caps::Capabilities;
|
||||
use termwiz::cell::AttributeChange;
|
||||
use termwiz::color::{AnsiColor, ColorAttribute, RgbColor};
|
||||
use termwiz::color::{AnsiColor, ColorAttribute};
|
||||
use termwiz::input::*;
|
||||
use termwiz::surface::Change;
|
||||
use termwiz::terminal::buffered::BufferedTerminal;
|
||||
@ -71,14 +71,14 @@ mod inner {
|
||||
fn render(&mut self, args: &mut RenderArgs) {
|
||||
args.surface.add_change(Change::ClearScreen(
|
||||
ColorAttribute::TrueColorWithPaletteFallback(
|
||||
RgbColor::new_8bpc(0x31, 0x1B, 0x92),
|
||||
(0x31, 0x1B, 0x92).into(),
|
||||
AnsiColor::Black.into(),
|
||||
),
|
||||
));
|
||||
args.surface
|
||||
.add_change(Change::Attribute(AttributeChange::Foreground(
|
||||
ColorAttribute::TrueColorWithPaletteFallback(
|
||||
RgbColor::new_8bpc(0xB3, 0x88, 0xFF),
|
||||
(0xB3, 0x88, 0xFF).into(),
|
||||
AnsiColor::Purple.into(),
|
||||
),
|
||||
)));
|
||||
|
Loading…
Reference in New Issue
Block a user