aboutsummaryrefslogtreecommitdiffstats
path: root/crates/atuin-ai/src/tui/render.rs
diff options
context:
space:
mode:
authorEllie Huxtable <ellie@atuin.sh>2026-03-20 06:07:26 +0000
committerGitHub <noreply@github.com>2026-03-20 06:07:26 +0000
commit03ba77c432c97181ee921e8ec2bbc08ebc13d04a (patch)
tree827fd8ebddb8a7e8df5b315f9af8f46e9e82092e /crates/atuin-ai/src/tui/render.rs
parentfeat: error if value not provided and no stdin (diff)
downloadatuin-03ba77c432c97181ee921e8ec2bbc08ebc13d04a.zip
feat: add a small atuin label to the ai box (#3309)
<!-- Thank you for making a PR! Bug fixes are always welcome, but if you're adding a new feature or changing an existing one, we'd really appreciate if you open an issue, post on the forum, or drop in on Discord --> ## Checks - [ ] I am happy for maintainers to push small adjustments to this PR, to speed up the review cycle - [ ] I have checked that there are no existing pull requests for the same thing
Diffstat (limited to 'crates/atuin-ai/src/tui/render.rs')
-rw-r--r--crates/atuin-ai/src/tui/render.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/atuin-ai/src/tui/render.rs b/crates/atuin-ai/src/tui/render.rs
index 9b514ccf..e3801d6a 100644
--- a/crates/atuin-ai/src/tui/render.rs
+++ b/crates/atuin-ai/src/tui/render.rs
@@ -119,6 +119,7 @@ fn render_view(frame: &mut Frame, view: &Blocks, ctx: &RenderContext) {
let mut outer_block = RatatuiBlock::default()
.borders(Borders::ALL)
.title(title)
+ .title_top(Line::from("atuin").alignment(Alignment::Right))
.title_bottom(Line::from(view.footer).alignment(Alignment::Right))
.padding(Padding::new(1, 1, 1, 0));