fix: make top date actually update

This commit is contained in:
talwat 2025-10-31 09:40:41 +01:00
parent 0841e509e1
commit 174002688a

View File

@ -141,6 +141,7 @@ impl Window {
/// Actually draws the window, with each element in `content` being on a new line.
pub fn draw(&mut self, content: Vec<String>, space: bool) -> eyre::Result<(), UIError> {
self.borders[0] = Self::top(self.width);
let len: u16 = content.len().try_into()?;
// Note that this will have a trailing newline, which we use later.