From 7aabc381a37e5ccd2cc62629bbcf6d7c7edb146c Mon Sep 17 00:00:00 2001 From: Darren Schroeder <343840+fdncred@users.noreply.github.com> Date: Tue, 28 Jun 2022 14:14:20 -0500 Subject: [PATCH] fix bug where `thin` theme wasn't getting applied correctly (#5905) --- crates/nu-command/src/viewers/table.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/crates/nu-command/src/viewers/table.rs b/crates/nu-command/src/viewers/table.rs index 75e2c61d5a..31dd18c530 100644 --- a/crates/nu-command/src/viewers/table.rs +++ b/crates/nu-command/src/viewers/table.rs @@ -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(),