Close #318 https://github.com/user-attachments/assets/1fed12e2-df53-4213-a3f5-c57bd8b4cadb
11 lines
297 B
Rust
11 lines
297 B
Rust
use gpui::{actions, Action};
|
|
use serde::Deserialize;
|
|
|
|
#[derive(Clone, Action, PartialEq, Eq, Deserialize)]
|
|
#[action(namespace = ui, no_json)]
|
|
pub struct Confirm {
|
|
/// Is confirm with secondary.
|
|
pub secondary: bool,
|
|
}
|
|
|
|
actions!(ui, [Cancel, SelectUp, SelectDown, SelectLeft, SelectRight]);
|