Skip to main content

_diffctx/config/
render.rs

1use once_cell::sync::Lazy;
2
3pub struct RenderConfig {
4    pub section_symbol_max_chars: usize,
5}
6
7impl Default for RenderConfig {
8    fn default() -> Self {
9        Self {
10            section_symbol_max_chars: 50,
11        }
12    }
13}
14
15pub static RENDER: Lazy<RenderConfig> = Lazy::new(RenderConfig::default);