From 655f9d624c41da2faf664711e5cb2e001cd4a67f Mon Sep 17 00:00:00 2001 From: Erica Marigold Date: Thu, 14 Aug 2025 09:44:39 +0100 Subject: [PATCH] style: `src/app.rs` --- src/app.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/app.rs b/src/app.rs index 962efd3..d619fd9 100644 --- a/src/app.rs +++ b/src/app.rs @@ -121,7 +121,8 @@ impl App { // Force the dimensions to be validated before rendering anything by sending a `Resize` event let term_size = tui.terminal.try_lock()?.size()?; - tui.event_tx.send(Event::Resize(term_size.width, term_size.height))?; + tui.event_tx + .send(Event::Resize(term_size.width, term_size.height))?; // Blocking initialization logic for tui and components block_in_place(|| { @@ -305,6 +306,8 @@ impl App { let error_width = error_message.chars().count().try_into().unwrap_or(55); let error_height = 5; + + #[rustfmt::skip] let area = Block::default() .borders(Borders::all()) .style(Style::new().fg(Color::White))