wezterm: fix overlays to fill whole tab, not active pane size
refs: https://github.com/wez/wezterm/issues/157
This commit is contained in:
1 parent
d66ee6a5c6
commit
6469cba8e1
1 file changed
+2
-4
@@ -27,10 +27,8 @@ where
|
||||
F: Send + 'static + FnOnce(TabId, TermWizTerminal) -> anyhow::Result<T>,
|
||||
{
|
||||
let tab_id = tab.tab_id();
|
||||
let pane = tab.get_active_pane().expect("tab to have pane");
|
||||
// TODO: our overlay should overlap the overall contents of the pane
|
||||
let dims = pane.renderer().get_dimensions();
|
||||
let (tw_term, tw_tab) = allocate(dims.cols, dims.viewport_rows);
|
||||
let tab_size = tab.get_size();
|
||||
let (tw_term, tw_tab) = allocate(tab_size.cols.into(), tab_size.rows.into());
|
||||
|
||||
let window = term_window.window.clone().unwrap();
|
||||
|
||||
|
||||
Reference in new issue
Block a user