diff options
Diffstat (limited to 'alacritty/src/display')
-rw-r--r-- | alacritty/src/display/content.rs | 6 | ||||
-rw-r--r-- | alacritty/src/display/wayland_theme.rs | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/alacritty/src/display/content.rs b/alacritty/src/display/content.rs index 81c2977f..1c7e2989 100644 --- a/alacritty/src/display/content.rs +++ b/alacritty/src/display/content.rs @@ -14,7 +14,7 @@ use alacritty_terminal::term::{ RenderableContent as TerminalContent, RenderableCursor as TerminalCursor, Term, TermMode, }; -use crate::config::ui_config::UIConfig; +use crate::config::ui_config::UiConfig; use crate::display::color::{List, DIM_FACTOR}; /// Minimum contrast between a fixed cursor color and the cell's background. @@ -31,7 +31,7 @@ pub struct RenderableContent<'a> { terminal_cursor: TerminalCursor, cursor: Option<RenderableCursor>, search: RenderableSearch, - config: &'a Config<UIConfig>, + config: &'a Config<UiConfig>, colors: &'a List, } @@ -39,7 +39,7 @@ impl<'a> RenderableContent<'a> { pub fn new<T: EventListener>( term: &'a Term<T>, dfas: Option<&RegexSearch>, - config: &'a Config<UIConfig>, + config: &'a Config<UiConfig>, colors: &'a List, show_cursor: bool, ) -> Self { diff --git a/alacritty/src/display/wayland_theme.rs b/alacritty/src/display/wayland_theme.rs index 1932ae01..7a9aac16 100644 --- a/alacritty/src/display/wayland_theme.rs +++ b/alacritty/src/display/wayland_theme.rs @@ -70,11 +70,11 @@ impl WaylandTheme for AlacrittyWaylandTheme { } } -trait IntoARGBColor { +trait IntoArgbColor { fn into_rgba(self) -> ARGBColor; } -impl IntoARGBColor for Rgb { +impl IntoArgbColor for Rgb { fn into_rgba(self) -> ARGBColor { ARGBColor { a: 0xff, r: self.r, g: self.g, b: self.b } } |