Skip to main content

Module filepicker

Module filepicker 

Source
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.
FilePicker
File picker model for browsing and selecting files.
KeyMap
Key bindings for file picker navigation.
ReadDirErrMsg
Message sent when directory reading fails.
ReadDirMsg
Message sent when directory reading completes.
Styles
Styles for the file picker.