1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-05-31 07:30:52 +00:00
starship/src/modules/line_sep.rs
2019-04-04 20:33:36 -04:00

14 lines
280 B
Rust

use super::Segment;
use clap::ArgMatches;
/// Creates a segment for the line break
pub fn segment(_: &ArgMatches) -> Segment {
const LINE_ENDING: &str = "\n";
Segment {
value: String::from(LINE_ENDING),
suffix: None,
..Default::default()
}
}