Expand description
File picker component for browsing and selecting files.
This module provides a file picker widget for TUI applications that allows users to navigate directories and select files.
§Example
ⓘ
use bubbles::filepicker::FilePicker;
let mut picker = FilePicker::new();
picker.set_current_directory(".");
// In your init function, call init() to start reading the directory
let cmd = picker.init();Structs§
- DirEntry
- A directory entry in the file picker.
- File
Picker - File picker model for browsing and selecting files.
- KeyMap
- Key bindings for file picker navigation.
- Read
DirErr Msg - Message sent when directory reading fails.
- Read
DirMsg - Message sent when directory reading completes.
- Styles
- Styles for the file picker.