From 174002688acc86d7aa46d0518d620ba02e5517d0 Mon Sep 17 00:00:00 2001 From: talwat <83217276+talwat@users.noreply.github.com> Date: Fri, 31 Oct 2025 09:40:41 +0100 Subject: [PATCH] fix: make top date actually update --- src/player/ui.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/player/ui.rs b/src/player/ui.rs index ad70911..f9ace97 100644 --- a/src/player/ui.rs +++ b/src/player/ui.rs @@ -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, 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.