1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-10 06:34:17 +03:00

gui: disable zone fetch in the renderer

We need a more scalable alternative to this before we can use
it in the renderer.
This commit is contained in:
Wez Furlong 2021-08-15 15:58:51 -07:00
parent aa9cbd4552
commit e1ee1ddd97

View File

@ -211,6 +211,7 @@ impl super::TermWindow {
num_panes: usize,
) -> anyhow::Result<()> {
self.check_for_dirty_lines_and_invalidate_selection(&pos.pane);
/*
let zone = {
let dims = pos.pane.get_dimensions();
let position = self
@ -224,6 +225,7 @@ impl super::TermWindow {
let idx = ((idx as isize) - 1).max(0) as usize;
zones.get(idx).cloned()
};
*/
let global_bg_color = self.palette().background;
let config = &self.config;
@ -518,9 +520,11 @@ impl super::TermWindow {
&mut quads,
)?;
}
/*
if let Some(zone) = zone {
// TODO: render a thingy to jump to prior prompt
}
*/
metrics::histogram!("paint_pane_opengl.lines", start.elapsed());
log::trace!("lines elapsed {:?}", start.elapsed());