1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-06-12 13:22:20 +00:00
starship/src/modules/line_break.rs

14 lines
280 B
Rust
Raw Normal View History

2019-04-05 00:33:36 +00:00
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()
}
}