Skip to content

Commit 09d0975

Browse files
authored
fix(ux): various ui/ux fixes (#2722)
* force plugin render on permission request response * clear warnings * Revert "feat(ui): new status bar mode (#2619)" This reverts commit 27763d2. * adjust status bar help * fix colors in session manager and shortcut in status-bar * adjust keybindings
1 parent 4a1d114 commit 09d0975

File tree

20 files changed

+181
-436
lines changed

20 files changed

+181
-436
lines changed

default-plugins/compact-bar/src/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ static ARROW_SEPARATOR: &str = "";
3131
register_plugin!(State);
3232

3333
impl ZellijPlugin for State {
34-
fn load(&mut self, configuration: BTreeMap<String, String>) {
34+
fn load(&mut self, _configuration: BTreeMap<String, String>) {
3535
set_selectable(false);
3636
subscribe(&[
3737
EventType::TabUpdate,

default-plugins/session-manager/src/ui/components.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ impl LineToRender {
294294
}
295295
pub fn make_selected(&mut self) {
296296
self.is_selected = true;
297-
match self.colors.palette.gray {
297+
match self.colors.palette.bg {
298298
PaletteColor::EightBit(byte) => {
299299
self.line = format!(
300300
"\u{1b}[48;5;{byte}m\u{1b}[K\r\u{1b}[48;5;{byte}m{}",
@@ -303,7 +303,7 @@ impl LineToRender {
303303
},
304304
PaletteColor::Rgb((r, g, b)) => {
305305
self.line = format!(
306-
"\u{1b}[48;2;{};{};{}m\u{1b}[K\r\u{1b}[48;5;{};{};{}m{}",
306+
"\u{1b}[48;2;{};{};{}m\u{1b}[K\r\u{1b}[48;2;{};{};{}m{}",
307307
r, g, b, r, g, b, self.line
308308
);
309309
},

0 commit comments

Comments
 (0)