pub struct UiConfig {Show 16 fields
pub font: Font,
pub window: WindowConfig,
pub mouse: Mouse,
pub debug: Debug,
pub alt_send_esc: Option<bool>,
pub live_config_reload: bool,
pub bell: BellConfig,
pub colors: Colors,
pub draw_bold_text_with_bright_colors: bool,
pub config_paths: Vec<PathBuf>,
pub hints: Hints,
pub ipc_socket: bool,
pub terminal_config: TerminalConfig,
key_bindings: KeyBindings,
mouse_bindings: MouseBindings,
background_opacity: Option<Percentage>,
}Fields§
§font: FontFont configuration.
window: WindowConfigWindow configuration.
mouse: Mouse§debug: DebugDebug options.
alt_send_esc: Option<bool>Send escape sequences using the alt key.
live_config_reload: boolLive config reload.
bell: BellConfigBell configuration.
colors: ColorsRGB values for colors.
draw_bold_text_with_bright_colors: boolShould draw bold text with brighter colors instead of bold font.
config_paths: Vec<PathBuf>Path where config was loaded from.
hints: HintsRegex hints for interacting with terminal content.
ipc_socket: boolOffer IPC through a unix socket.
terminal_config: TerminalConfigConfig for the alacritty_terminal itself.
key_bindings: KeyBindingsKeybindings.
mouse_bindings: MouseBindingsBindings for the mouse.
background_opacity: Option<Percentage>Background opacity from 0.0 to 1.0.
Implementations§
source§impl UiConfig
impl UiConfig
sourcepub fn generate_hint_bindings(&mut self)
pub fn generate_hint_bindings(&mut self)
Generate key bindings for all keyboard hints.
pub fn window_opacity(&self) -> f32
pub fn key_bindings(&self) -> &[Binding<Key>]
pub fn mouse_bindings(&self) -> &[Binding<MouseButton>]
Trait Implementations§
source§impl<'de> Deserialize<'de> for UiConfig
impl<'de> Deserialize<'de> for UiConfig
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more