* refactor * optimistically update message list * fix * update * handle duplicate messages * update ui * refactor input * update multi line input * clean up
12 lines
289 B
Rust
12 lines
289 B
Rust
use gpui::{actions, impl_internal_actions};
|
|
use serde::Deserialize;
|
|
|
|
#[derive(Clone, PartialEq, Eq, Deserialize)]
|
|
pub struct Confirm {
|
|
/// Is confirm with secondary.
|
|
pub secondary: bool,
|
|
}
|
|
|
|
actions!(list, [Cancel, SelectPrev, SelectNext]);
|
|
impl_internal_actions!(list, [Confirm]);
|