feat: integrate tui-logger, ratatui-textarea, throbber, tui-widget-list, tui-scrollview

This commit is contained in:
objz committed 2025-09-20 15:41:17 +02:00
1 parent c70d247a2b
commit 59ad22e6e8
10 files changed
+332 -270

No files matched your search

+2 -8
View File
@@ -24,10 +24,7 @@ pub fn set_action(text: impl Into<String>) {
tracing::error!("Progress lock poisoned: {}", e);
}
}
crate::tui::log_buffer::push_log(crate::tui::log_buffer::LogEntry {
level: tracing::Level::INFO,
message: text,
});
tracing::info!("{}", text);
}
pub fn set_progress(current: u64, total: u64) {
@@ -51,10 +48,7 @@ pub fn set_sub_action(text: impl Into<String>) {
tracing::error!("Progress lock poisoned: {}", e);
}
}
crate::tui::log_buffer::push_log(crate::tui::log_buffer::LogEntry {
level: tracing::Level::INFO,
message: format!(" {}", text),
});
tracing::debug!(" {}", text);
}
pub fn clear() {