diff --git a/src/components/hash_table.rs b/src/components/hash_table.rs index fd75b91..853674b 100644 --- a/src/components/hash_table.rs +++ b/src/components/hash_table.rs @@ -218,7 +218,7 @@ impl HashValue { ], ) .header(header) - .highlight_style(selected_style) + .row_highlight_style(selected_style) .highlight_symbol(highlight_symbol) .bg(self.colors.buffer_bg) .highlight_spacing(HighlightSpacing::Always); diff --git a/src/components/list_table.rs b/src/components/list_table.rs index 3288c0e..56f9b57 100644 --- a/src/components/list_table.rs +++ b/src/components/list_table.rs @@ -210,7 +210,7 @@ impl ListValue { ], ) .header(header) - .highlight_style(selected_style) + .row_highlight_style(selected_style) .highlight_symbol(highlight_symbol) .bg(self.colors.buffer_bg) .highlight_spacing(HighlightSpacing::Always); diff --git a/src/components/redis_cli.rs b/src/components/redis_cli.rs index 6381cfa..bc49e41 100644 --- a/src/components/redis_cli.rs +++ b/src/components/redis_cli.rs @@ -362,7 +362,7 @@ fn get_table(rows: Vec) -> Table { let table = Table::new(rows, [Min(1), Length(7), Length(0)]) // .block(Block::bordered().border_type(BorderType::Rounded)) .style(Style::default().bg(tailwind::NEUTRAL.c800)) - .highlight_style(Style::default().bg(tailwind::ZINC.c900).bold()); + .row_highlight_style(Style::default().bg(tailwind::ZINC.c900).bold()); table } diff --git a/src/components/servers.rs b/src/components/servers.rs index 8136157..ea3c012 100644 --- a/src/components/servers.rs +++ b/src/components/servers.rs @@ -265,7 +265,7 @@ impl ServerList { ], ) .header(header) - .highlight_style(selected_style) + .row_highlight_style(selected_style) .highlight_symbol(Text::raw(bar)) .bg(self.colors.buffer_bg) .column_spacing(1) diff --git a/src/components/set_table.rs b/src/components/set_table.rs index e0f6954..e62d023 100644 --- a/src/components/set_table.rs +++ b/src/components/set_table.rs @@ -210,7 +210,7 @@ impl SetValue { ], ) .header(header) - .highlight_style(selected_style) + .row_highlight_style(selected_style) .highlight_symbol(highlight_symbol) .bg(self.colors.buffer_bg) .highlight_spacing(HighlightSpacing::Always); diff --git a/src/components/stream_view.rs b/src/components/stream_view.rs index 5410932..bc1fd00 100644 --- a/src/components/stream_view.rs +++ b/src/components/stream_view.rs @@ -242,7 +242,7 @@ impl SteamView { ], ) .header(header) - .highlight_style(selected_style) + .row_highlight_style(selected_style) .highlight_symbol(highlight_symbol) .bg(self.id_table.colors.buffer_bg) .highlight_spacing(HighlightSpacing::Always); @@ -346,7 +346,7 @@ impl SteamView { ], ) .header(header) - .highlight_style(selected_style) + .row_highlight_style(selected_style) .highlight_symbol(highlight_symbol) .bg(self.entry_table.colors.buffer_bg) .highlight_spacing(HighlightSpacing::Always); diff --git a/src/components/zset_table.rs b/src/components/zset_table.rs index eb479bf..b68b0c5 100644 --- a/src/components/zset_table.rs +++ b/src/components/zset_table.rs @@ -220,7 +220,7 @@ impl ZSetValue { ], ) .header(header) - .highlight_style(selected_style) + .row_highlight_style(selected_style) .highlight_symbol(highlight_symbol) .bg(self.colors.buffer_bg) .highlight_spacing(HighlightSpacing::Always);