mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
16 lines
356 B
Rust
16 lines
356 B
Rust
use ratatui::{text::Line, widgets::Paragraph};
|
|
use tokio::sync::oneshot::Sender;
|
|
use yazi_config::popup::Position;
|
|
|
|
#[derive(Default)]
|
|
pub struct Confirm {
|
|
pub title: Line<'static>,
|
|
pub body: Paragraph<'static>,
|
|
pub list: Paragraph<'static>,
|
|
|
|
pub position: Position,
|
|
pub offset: usize,
|
|
|
|
pub callback: Option<Sender<bool>>,
|
|
pub visible: bool,
|
|
}
|