More documentation

This commit is contained in:
Jeremy Soller 2022-10-19 08:34:34 -06:00
parent fa00813c0b
commit 405c77bb47
No known key found for this signature in database
GPG key ID: 87F211AF2BE4C2FE
3 changed files with 25 additions and 5 deletions

View file

@ -227,7 +227,9 @@ fn main() {
);
}
EventOption::Scroll(event) => {
buffer.action(TextAction::Scroll(-event.y * 3));
buffer.action(TextAction::Scroll {
lines: -event.y * 3,
});
}
EventOption::Quit(_) => return,
_ => (),