mirror of
https://github.com/nushell/nushell.git
synced 2025-08-15 07:33:18 +02:00
table -e
align key to 2nd line (#6842)
Signed-off-by: Maxim Zhiburt <zhiburt@gmail.com> Signed-off-by: Maxim Zhiburt <zhiburt@gmail.com>
This commit is contained in:
@ -114,4 +114,11 @@ impl TableTheme {
|
||||
theme: Style::blank().into(),
|
||||
}
|
||||
}
|
||||
|
||||
pub fn has_top_line(&self) -> bool {
|
||||
self.theme.get_top().is_some()
|
||||
|| self.theme.get_top_intersection().is_some()
|
||||
|| self.theme.get_top_left().is_some()
|
||||
|| self.theme.get_top_right().is_some()
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user