More documentation
This commit is contained in:
parent
fa00813c0b
commit
405c77bb47
3 changed files with 25 additions and 5 deletions
|
|
@ -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,
|
||||
_ => (),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue