aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/compositor.rs
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-03-08 08:32:13 +0000
committerBlaž Hrastnik2021-03-08 08:32:13 +0000
commit8fe459066605a794f8dceedaf872f71ffd4c750a (patch)
tree0d3f10b3668dbfc8aa7805d1974f89ed1333b60d /helix-term/src/compositor.rs
parentddcf5156c0260debc522b0420f93e0c523697eb4 (diff)
ui: popup: scroll documentation popups with c-u/c-d.
Diffstat (limited to 'helix-term/src/compositor.rs')
-rw-r--r--helix-term/src/compositor.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/helix-term/src/compositor.rs b/helix-term/src/compositor.rs
index 0a08a0d1..ba8453f3 100644
--- a/helix-term/src/compositor.rs
+++ b/helix-term/src/compositor.rs
@@ -29,6 +29,7 @@ use helix_view::{Editor, View};
pub struct Context<'a> {
pub editor: &'a mut Editor,
pub executor: &'static smol::Executor<'static>,
+ pub scroll: Option<usize>,
}
pub trait Component {