Skip to content

Commit c9d63ce

Browse files
committed
style: apply cargo fmt
1 parent d2efd03 commit c9d63ce

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

crates/agentic-core/src/models.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,4 +349,4 @@ fn format_relative_time(_iso_time: &str) -> String {
349349
// For now, just return a simple format
350350
// TODO: Parse ISO time and return relative time like "4 days ago"
351351
"recently".to_string()
352-
}
352+
}

crates/agentic-tui/src/ui/app.rs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,9 @@ impl App {
284284
}
285285
} else if self.mode == AppMode::Orchestrating {
286286
if let Some(proposal) = self.proposals.get(self.current_proposal_index) {
287-
let block = Block::default().title("Proposal Stone").borders(Borders::ALL);
287+
let block = Block::default()
288+
.title("Proposal Stone")
289+
.borders(Borders::ALL);
288290
let paragraph = Paragraph::new(proposal.as_str())
289291
.block(block)
290292
.wrap(Wrap { trim: true });
@@ -658,7 +660,9 @@ impl App {
658660
},
659661
AppMode::Orchestrating => match key.code {
660662
KeyCode::Char('s') => {
661-
if let Some(proposal) = self.proposals.get(self.current_proposal_index) {
663+
if let Some(proposal) =
664+
self.proposals.get(self.current_proposal_index)
665+
{
662666
self.final_prompt = proposal.clone();
663667
self.mode = AppMode::Complete;
664668
}

crates/agentic-tui/src/ui/header.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,4 +122,4 @@ fn build_smart_status_with_color(status: AgentStatus, settings: &Settings) -> (S
122122
};
123123

124124
(text, color)
125-
}
125+
}

0 commit comments

Comments
 (0)