TX and other UI/UX improvements

This commit is contained in:
KaraZajac
2026-02-20 23:43:15 -05:00
parent 1ac7f0299f
commit da5950e872
5 changed files with 225 additions and 74 deletions
+8
View File
@@ -176,6 +176,10 @@ fn run_app<B: ratatui::backend::Backend>(terminal: &mut Terminal<B>, app: &mut A
if app.input_mode == InputMode::Command {
app.input_mode = InputMode::Normal;
}
while app.has_pending_transmit() {
terminal.draw(|f| draw_ui(f, app))?;
app.run_one_pending_transmit()?;
}
}
KeyCode::Char(c) => {
app.command_input.push(c);
@@ -209,6 +213,10 @@ fn run_app<B: ratatui::backend::Backend>(terminal: &mut Terminal<B>, app: &mut A
if app.input_mode == InputMode::SignalMenu {
app.input_mode = InputMode::Normal;
}
while app.has_pending_transmit() {
terminal.draw(|f| draw_ui(f, app))?;
app.run_one_pending_transmit()?;
}
}
KeyCode::Esc => {
app.input_mode = InputMode::Normal;