Working scrollbar

This commit is contained in:
Marco De Araujo 2026-01-10 11:19:19 -04:00
parent df1d1dddc6
commit 000e31a14f
4 changed files with 58 additions and 26 deletions

View file

@ -9,7 +9,11 @@ use ratatui::{
use crate::i18n::t;
use chrono::Local;
pub fn render_footer(frame: &mut Frame, area: Rect, seconds_until_update: u64) {
pub fn render_footer(
frame: &mut Frame,
area: Rect,
seconds_until_update: u64
) {
let now = Local::now();
let datatime_str = now.format("%Y-%m-%d %H:%M:%S").to_string();
let countdown_str = format!("{}s", seconds_until_update);