mirror of
https://github.com/Llewellynvdm/starship.git
synced 2025-01-24 07:38:34 +00:00
16 lines
322 B
Rust
16 lines
322 B
Rust
|
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 }
|
||
|
}
|
||
|
}
|