mirror of
https://github.com/talwat/lowfi
synced 2025-11-04 21:28:47 +00:00
fix: make top date actually update
This commit is contained in:
parent
0841e509e1
commit
174002688a
@ -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.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user