aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/ui
diff options
context:
space:
mode:
authorWojciech Kępka2021-06-13 05:31:25 +0000
committerBlaž Hrastnik2021-06-13 11:48:18 +0000
commitb500a2a138d315dcf98935563b8ea4a7e9b2fe5d (patch)
tree3352cc0571de1e783633bc49c4e0f79acd23b7ec /helix-term/src/ui
parenta3f01503e28ee3bcbfd14e9753a1c135bbba49e7 (diff)
commands: Add more write commands
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 8367b12c..c6429736 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(PartialEq)]
+#[derive(Clone, PartialEq)]
pub enum PromptEvent {
/// The prompt input has been updated.
Update,