mirror of
https://github.com/zellij-org/zellij.git
synced 2024-11-23 08:57:14 +03:00
wip: sending the ModeInfo on initial plugin load
This commit is contained in:
parent
b8ee02d4bb
commit
a6ad8e6f15
@ -67,16 +67,16 @@ impl ZellijTile for State {
|
||||
println!(
|
||||
"{}\u{1b}[{};{};{}m\u{1b}[0K",
|
||||
first_line,
|
||||
self.mode_info.palette.bg.0,
|
||||
self.mode_info.palette.bg.1,
|
||||
self.mode_info.palette.bg.2
|
||||
self.mode_info.palette.black.0,
|
||||
self.mode_info.palette.black.1,
|
||||
self.mode_info.palette.black.2
|
||||
);
|
||||
println!(
|
||||
"{}\u{1b}[{};{};{}m\u{1b}[0K",
|
||||
second_line,
|
||||
self.mode_info.palette.bg.0,
|
||||
self.mode_info.palette.bg.1,
|
||||
self.mode_info.palette.bg.2
|
||||
self.mode_info.palette.fg.0,
|
||||
self.mode_info.palette.fg.1,
|
||||
self.mode_info.palette.fg.2
|
||||
);
|
||||
}
|
||||
}
|
||||
|
@ -321,7 +321,10 @@ pub fn start(mut os_input: Box<dyn OsApi>, opts: CliArgs) {
|
||||
&full_screen_ws,
|
||||
os_input,
|
||||
max_panes,
|
||||
ModeInfo::default(),
|
||||
ModeInfo {
|
||||
palette: colors,
|
||||
..ModeInfo::default()
|
||||
},
|
||||
InputMode::Normal,
|
||||
colors,
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user