Skip to content

armgit / jan

Public Imported from GitHub
0

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.

fix: remove git branch from header bar (now only in path line)

tikikun76da3cfd3377
diff --git a/src-tauri/src/core/cli/tui.rs b/src-tauri/src/core/cli/tui.rs
index 3b9db9315..2a81e409b 100644
--- a/src-tauri/src/core/cli/tui.rs
+++ b/src-tauri/src/core/cli/tui.rs
@@ -4252,12 +4252,6 @@ fn header(app: &App) -> Paragraph<'static> {
Span::styled(" jan agent ", Style::new().on_blue().white().bold()),
Span::raw(format!(" {} ", app.model)),
];
- if let Some(branch) = app.git_branch.as_ref() {
- spans.push(Span::styled(
- format!(" ⎇ {}", branch),
- Style::new().dark_gray(),
- ));
- }
spans.push(Span::raw(format!(" {turn}tokens {}", app.tokens)));
spans.push(Span::styled(elapsed, Style::new().dim()));
// Active-goal indicator: `◎ /goal active <duration>` (cyan while running,