pub fn render(explorer: &mut FileExplorer, frame: &mut Frame<'_>, area: Rect)Expand description
Render the file explorer into area using the default colour theme.
This is the simplest rendering entry-point. Call it from your application’s
Terminal::draw closure, passing a mutable reference to the explorer state
and the current Ratatui Frame.
The widget renders three vertical zones:
- Header — current directory path inside a rounded border.
- List — scrollable, highlighted list of directory entries.
- Footer — key hints (left) and status / filter info (right).
§Example
terminal.draw(|frame| {
render(&mut explorer, frame, frame.area());
}).unwrap();