fix bug where thin theme wasn't getting applied correctly (#5905)

This commit is contained in:
Darren Schroeder 2022-06-28 14:14:20 -05:00 committed by GitHub
parent 8c9dced71b
commit 7aabc381a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -569,10 +569,11 @@ impl Iterator for PagingTableCreator {
fn load_theme_from_config(config: &Config) -> TableTheme {
match config.table_mode.as_str() {
"basic" => nu_table::TableTheme::basic(),
"compact" => nu_table::TableTheme::compact(),
"compact_double" => nu_table::TableTheme::compact_double(),
"thin" => nu_table::TableTheme::thin(),
"light" => nu_table::TableTheme::light(),
"compact" => nu_table::TableTheme::compact(),
"with_love" => nu_table::TableTheme::with_love(),
"compact_double" => nu_table::TableTheme::compact_double(),
"rounded" => nu_table::TableTheme::rounded(),
"reinforced" => nu_table::TableTheme::reinforced(),
"heavy" => nu_table::TableTheme::heavy(),