diff options
author | Aram Drevekenin <aram@poor.dev> | 2022-11-15 12:21:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-15 12:21:36 +0100 |
commit | 3d2a6d6a5aa47cace356fe39184f2ac018898552 (patch) | |
tree | 3f57d6b63bd5943224139bfc65bb4ff562bf0f91 /default-plugins/tab-bar/src/main.rs | |
parent | b2b5bdc564920fa09c9c54f04c593e411497121d (diff) |
refactor(plugins): change the data flow (#1934)
* refactor(plugins): do not block render loop
* refactor(plugins): cleanup
* style(fmt): rustfmt
* fix(plugins): various rendering pipeline fixes
Diffstat (limited to 'default-plugins/tab-bar/src/main.rs')
-rw-r--r-- | default-plugins/tab-bar/src/main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/default-plugins/tab-bar/src/main.rs b/default-plugins/tab-bar/src/main.rs index 562e27793..f03102610 100644 --- a/default-plugins/tab-bar/src/main.rs +++ b/default-plugins/tab-bar/src/main.rs @@ -127,10 +127,10 @@ impl ZellijPlugin for State { }; match background { PaletteColor::Rgb((r, g, b)) => { - println!("{}\u{1b}[48;2;{};{};{}m\u{1b}[0K", s, r, g, b); + print!("{}\u{1b}[48;2;{};{};{}m\u{1b}[0K", s, r, g, b); }, PaletteColor::EightBit(color) => { - println!("{}\u{1b}[48;5;{}m\u{1b}[0K", s, color); + print!("{}\u{1b}[48;5;{}m\u{1b}[0K", s, color); }, } self.should_render = false; |