mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 07:16:05 +02:00
Fix typos (#2842)
This commit is contained in:
@ -159,11 +159,11 @@ impl TextStyle {
|
||||
self.color_style.unwrap_or_default().is_strikethrough
|
||||
}
|
||||
|
||||
pub fn fg(&self, foregound: Color) -> TextStyle {
|
||||
pub fn fg(&self, foreground: Color) -> TextStyle {
|
||||
TextStyle {
|
||||
alignment: self.alignment,
|
||||
color_style: Some(Style {
|
||||
foreground: Some(foregound),
|
||||
foreground: Some(foreground),
|
||||
..self.color_style.unwrap_or_default()
|
||||
}),
|
||||
}
|
||||
|
Reference in New Issue
Block a user