aboutsummaryrefslogtreecommitdiff
path: root/src/app/state.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/state.rs')
-rw-r--r--src/app/state.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/app/state.rs b/src/app/state.rs
index 5e6aeafd..de1db052 100644
--- a/src/app/state.rs
+++ b/src/app/state.rs
@@ -1001,6 +1001,11 @@ pub struct ToastNotification {
pub target: Option<ToastTarget>,
}
+#[derive(Debug, Clone, PartialEq, Eq)]
+pub struct CopyFeedback {
+ pub message: String,
+}
+
pub struct ReleaseNotesState {
pub version: String,
pub body: String,
@@ -1103,6 +1108,7 @@ pub struct AppState {
pub update_dismissed: bool,
pub config_diagnostic: Option<String>,
pub toast: Option<ToastNotification>,
+ pub copy_feedback: Option<CopyFeedback>,
/// Last reported focus state for the outer terminal hosting herdr.
/// None means unsupported or not yet reported, which preserves active-pane suppression.
pub outer_terminal_focus: Option<bool>,
@@ -1410,6 +1416,7 @@ impl AppState {
update_dismissed: false,
config_diagnostic: None,
toast: None,
+ copy_feedback: None,
outer_terminal_focus: None,
prefix_code: KeyCode::Char('b'),
prefix_mods: KeyModifiers::CONTROL,