mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 01:45:03 +02:00
Add wrap and get and cell_path parsing
This commit is contained in:
@ -240,6 +240,10 @@ impl TextStyle {
|
||||
.bold(Some(true))
|
||||
}
|
||||
|
||||
pub fn default_field() -> TextStyle {
|
||||
TextStyle::new().fg(Color::Green).bold(Some(true))
|
||||
}
|
||||
|
||||
pub fn with_attributes(bo: bool, al: Alignment, co: Color) -> TextStyle {
|
||||
TextStyle::new().alignment(al).fg(co).bold(Some(bo))
|
||||
}
|
||||
|
Reference in New Issue
Block a user