From 1b980eaa9d4cbc050b6b81525e4b6b72ae853be5 Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Tue, 26 May 2026 15:49:07 +0300 Subject: feat: show clipboard copy feedback --- src/app/state.rs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/app/state.rs') 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, } +#[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, pub toast: Option, + pub copy_feedback: Option, /// 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, @@ -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, -- cgit v1.2.3