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.

Remove unused method

Akarshan Biswas494ce495df8e
diff --git a/src-tauri/src/core/cli/tui.rs b/src-tauri/src/core/cli/tui.rs
index 1a06f0d8d..21c96955e 100644
--- a/src-tauri/src/core/cli/tui.rs
+++ b/src-tauri/src/core/cli/tui.rs
@@ -838,14 +838,6 @@ impl App {
Some(after_at.to_string())
}
- /// Whether the path-hint popup is eligible to show right now.
- fn path_hints_active(&self) -> bool {
- if self.path_hint_dismissed || self.status != Status::Idle {
- return false;
- }
- self.path_hint_query().is_some()
- }
-
/// Refresh path hints from the input buffer: detect `@query`, search files.
fn refresh_path_hints(&mut self) {
if self.path_hint_dismissed || self.status != Status::Idle {