Skip to content

Terminal interface to find, download, and stream movies, TV shows, and live TV using local media players.

fix: add bdix commands to search autocomplete suggestions

Samir Hossainsbb54e2cdfddb
diff --git a/src/tui/app.rs b/src/tui/app.rs
index a18cf06..94714e1 100644
--- a/src/tui/app.rs
+++ b/src/tui/app.rs
@@ -1663,7 +1663,14 @@ impl App {
}
Action::Suggest(query) => {
if query.starts_with('/') {
- let mut commands = vec!["/clear-cache", "/update", "/toggle-update", "/github"];
+ let mut commands = vec![
+ "/clear-cache",
+ "/update",
+ "/toggle-update",
+ "/github",
+ "/enable-bdix",
+ "/disable-bdix",
+ ];
if self.state.is_tv_mode {
commands.push("/list");
commands.push("/config");