Skip to content

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

docs: update help dialog, controls guide, changelog, and test count

Samir Hossains7d7a81df9b9e
diff --git a/CHANGELOG.md b/CHANGELOG.md
index dd52470..6bcb5a7 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -32,6 +32,18 @@
- **Viewport-adaptive caps**: picker popup rows grow with terminal height
(4–14), details selector height becomes viewport-proportional, and non-
graphics terminals get a compact filmstrip poster placeholder.
+- **Search editing shortcuts & Tab suggestion completion**: `Tab` auto-completes
+ regular search query suggestions in addition to slash commands; `Ctrl+U` clears
+ the entire search input line and `Ctrl+W` deletes the previous word.
+- **Cursor shape & real input cursor**: `SetCursorStyle::SteadyBar` activates in
+ input editing mode on supported terminals (Ghostty, Kitty, WezTerm, foot,
+ Alacritty, Windows Terminal) and smoothly restores on normal mode, exit, or panic.
+- **Interactive toasts & gauge cancellation**: clicking notification cards dismisses
+ them; toast badges display kind icons (`ℹ`/`✔`/`⚠`/`✖`); clicking the active
+ download gauge triggers cancellation.
+- **Details footer responsive threshold**: single-row footer breakpoint adjusted to
+ 86 columns in sync with mouse hit-testing, preventing button clipping on 70–85
+ column viewports.
### Fixed
- **DNS resolution on Android/Termux and minimal containers**: Replaced the reqwest
diff --git a/docs/controls.md b/docs/controls.md
index 0f0ad29..84ac62d 100644
--- a/docs/controls.md
+++ b/docs/controls.md
@@ -9,6 +9,9 @@ MovieBox-TUI is designed for fast keyboard navigation with complete mouse suppor
| **Arrow keys** | Navigate lists, search results, tabs, and modal dialogs |
| **Enter** | Open, play, or confirm the selected item |
| **Esc** | Go back, dismiss popup dialog, or clear active search |
+| **`Tab`** | Auto-complete active search suggestion / slash command in input mode |
+| **`Ctrl+U`** | Clear entire search input line in input mode |
+| **`Ctrl+W`** | Delete backward word in search input |
| **`Ctrl+S`** | Switch to standard **Streaming Mode** |
| **`Ctrl+T`** | Toggle / switch to **TV Mode** |
| **`Ctrl+A`** | Toggle / switch to **Addon Mode** |
@@ -73,13 +76,21 @@ Type these commands directly into the search bar:
| `/favorites` | Streaming / Addon | View all starred titles |
| `/list` | TV | View live TV channels |
| `/config` | TV / Addon | Manage IPTV playlists (TV Mode) or configure HTTP addons (Addon Mode) |
+| `/download-dir` | All | View, change, or reset the download directory |
+| `/theme` | All | Open theme picker (Mocha, Latte, Macchiato, Frappe, Nord, TokyoNight, Dracula, Gruvbox, RosePine) |
+| `/clear-cache` | All | Clear temporary cache files |
+| `/update` | All | Check if a new release is available on GitHub |
+| `/toggle-update` | All | Toggle automatic startup update checks |
| `/enable-streaming` | All | Enable Streaming Mode navigation in bottom dock |
| `/disable-streaming` | All | Disable Streaming Mode navigation |
| `/enable-tv` | All | Enable TV Mode navigation in bottom dock |
| `/disable-tv` | All | Disable TV Mode navigation |
| `/enable-addons` | All | Enable Addon Mode navigation in bottom dock |
| `/disable-addons` | All | Disable Addon Mode navigation |
+| `/enable-bdix` | Streaming | Enable BDIX FTP sources (Bangladesh ISPs only) |
+| `/disable-bdix` | Streaming | Disable BDIX FTP sources |
| `/probe` | All | Re-run terminal graphics detection and report the result |
+| `/github` | All | Open the project repository |
## Help Overlay
@@ -93,11 +104,3 @@ On terminals at least 110 columns wide, search results render in two
columns (three at 160+). `↑`/`↓` move one visual row, `←`/`→` move one
item, and clicks map through column bounds. Narrower terminals keep the
classic single-column list where `←`/`→` jump a full page.
-| `/download-dir` | All | View, change, or reset the download directory |
-| `/theme` | All | Open theme picker (Mocha, Latte, Macchiato, Frappe, Nord, TokyoNight, Dracula, Gruvbox, RosePine) |
-| `/clear-cache` | All | Clear temporary cache files |
-| `/update` | All | Check if a new release is available on GitHub |
-| `/toggle-update` | All | Toggle automatic startup update checks |
-| `/enable-bdix` | Streaming | Enable BDIX FTP sources (Bangladesh ISPs only) |
-| `/disable-bdix` | Streaming | Disable BDIX FTP sources |
-| `/github` | All | Open the project repository |
diff --git a/docs/known-issues.md b/docs/known-issues.md
index 7dabdc0..8ef9a1a 100644
--- a/docs/known-issues.md
+++ b/docs/known-issues.md
@@ -29,6 +29,6 @@ Tracked here so future work and issue reports reference the same facts.
## Verification
-- Automated testing is enforced via `cargo test --all-features --locked` covering 192 unit and integration tests across 16 test suites (see [`docs/testing.md`](testing.md)). The count is updated when tests change; it does not replace real-player and real-device verification.
+- Automated testing is enforced via `cargo test --all-features --locked` covering 204 unit and integration tests across 16 test suites (see [`docs/testing.md`](testing.md)). The count is updated when tests change; it does not replace real-player and real-device verification.
- Static correctness is enforced by strict compiler type checking, the lint gate (`cargo clippy --all-targets --all-features --locked -- -D warnings`), formatting (`cargo fmt --check`), dependency vulnerability scanning (`cargo audit`), and packaging verification (`cargo package --locked`).
- Runtime and platform-specific behavior (terminal resize, focus handling, external player launch, and Termux chooser) are verified through the release checklist in [`release-checklist.md`](release-checklist.md).
diff --git a/src/tui/screens/help.rs b/src/tui/screens/help.rs
index 2a1388c..4febc55 100644
--- a/src/tui/screens/help.rs
+++ b/src/tui/screens/help.rs
@@ -54,6 +54,18 @@ pub fn draw(frame: &mut Frame, area: Rect, state: &AppState, theme: &Theme) {
Span::styled(" [←] / [→] ", theme.header),
Span::styled("Jump Page of Results", theme.text),
]),
+ Line::from(vec![
+ Span::styled(" [Tab] ", theme.header),
+ Span::styled("Auto-complete Suggestion / Command", theme.text),
+ ]),
+ Line::from(vec![
+ Span::styled(" [Ctrl+U] ", theme.header),
+ Span::styled("Clear Search Input Line", theme.text),
+ ]),
+ Line::from(vec![
+ Span::styled(" [Ctrl+W] ", theme.header),
+ Span::styled("Delete Backward Word", theme.text),
+ ]),
Line::from(vec![
Span::styled(" [Esc] ", theme.header),
Span::styled("Go Back / Clear Input", theme.text),
@@ -229,6 +241,10 @@ pub fn draw(frame: &mut Frame, area: Rect, state: &AppState, theme: &Theme) {
Span::styled("Disable BDIX FTP Providers", theme.text),
]));
}
+ help_text.push(Line::from(vec![
+ Span::styled(" /probe ", theme.header),
+ Span::styled("Re-detect Terminal Graphics", theme.text),
+ ]));
help_text.push(Line::from(vec![
Span::styled(" /github ", theme.header),
Span::styled("Open GitHub Repository", theme.text),