pub fn new() -> ModelExpand description
Creates a new filepicker model with default styling and key bindings.
This function provides a convenient way to create a filepicker without
having to call Model::new() directly. It matches the Go implementation’s
New() function for API compatibility.
§Returns
A new Model instance with default settings, starting in the current directory.
§Examples
use bubbletea_widgets::filepicker;
let picker = filepicker::new();
assert_eq!(picker.current_directory.as_os_str(), ".");