11 lines
278 B
Rust
11 lines
278 B
Rust
use gpui::{actions, Action};
|
|
use serde::Deserialize;
|
|
|
|
#[derive(Clone, Action, PartialEq, Eq, Deserialize)]
|
|
#[action(namespace = list, no_json)]
|
|
pub struct Confirm {
|
|
/// Is confirm with secondary.
|
|
pub secondary: bool,
|
|
}
|
|
|
|
actions!(list, [Cancel, SelectPrev, SelectNext]);
|