aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/ui
diff options
context:
space:
mode:
authorWojciech Kępka2021-06-13 09:00:13 +0000
committerBlaž Hrastnik2021-06-13 11:48:18 +0000
commitd8b5d1181f3d735023508369d519e707eb7464a1 (patch)
tree2d0e49d516093fa95dbe967b5600dc61a1ea191a /helix-term/src/ui
parentb500a2a138d315dcf98935563b8ea4a7e9b2fe5d (diff)
Add `Copy` derive to `PromptEvent`
Diffstat (limited to 'helix-term/src/ui')
-rw-r--r--helix-term/src/ui/prompt.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-term/src/ui/prompt.rs b/helix-term/src/ui/prompt.rs
index c6429736..1ee0399f 100644
--- a/helix-term/src/ui/prompt.rs
+++ b/helix-term/src/ui/prompt.rs
@@ -18,7 +18,7 @@ pub struct Prompt {
pub doc_fn: Box<dyn Fn(&str) -> Option<&'static str>>,
}
-#[derive(Clone, PartialEq)]
+#[derive(Clone, Copy, PartialEq)]
pub enum PromptEvent {
/// The prompt input has been updated.
Update,