Working scrollbar
This commit is contained in:
parent
df1d1dddc6
commit
000e31a14f
4 changed files with 58 additions and 26 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue