mirror of
https://github.com/Llewellynvdm/starship.git
synced 2024-05-31 07:30:52 +00:00
14 lines
280 B
Rust
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()
|
|
}
|
|
}
|