1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2025-01-24 07:38:34 +00:00
starship/src/configs/line_break.rs

16 lines
322 B
Rust
Raw Normal View History

use crate::config::ModuleConfig;
use serde::Serialize;
use starship_module_config_derive::ModuleConfig;
#[derive(Clone, ModuleConfig, Serialize)]
pub struct LineBreakConfig {
pub disabled: bool,
}
impl<'a> Default for LineBreakConfig {
fn default() -> Self {
LineBreakConfig { disabled: false }
}
}