almost sane focus higlighting

This commit is contained in:
🪞👃🪞 2024-06-26 00:22:42 +03:00
parent 4c9eed6fce
commit c06b9d16e2
4 changed files with 30 additions and 31 deletions

View file

@ -116,7 +116,7 @@ pub fn render (state: &Plugin, buf: &mut Buffer, area: Rect)
}
};
draw_header(state, buf, area.x, area.y, width);
Ok(area)
Ok(Rect { width, ..area })
}
fn draw_header (state: &Plugin, buf: &mut Buffer, x: u16, y: u16, w: u16) -> Usually<Rect> {