mirror of
https://github.com/sayanarijit/xplr.git
synced 2024-09-11 19:07:47 +03:00
Increases the preview_cushion to 5 like in vim
This commit is contained in:
parent
5240b3904b
commit
95621af9eb
@ -11,7 +11,7 @@ pub struct ScrollState {
|
||||
|
||||
impl ScrollState {
|
||||
/* The number of visible next lines when scrolling towards either ends of the view port */
|
||||
pub const PREVIEW_CUSHION: usize = 3;
|
||||
pub const PREVIEW_CUSHION: usize = 5;
|
||||
|
||||
pub fn set_focus(&mut self, current_focus: usize) {
|
||||
self.last_focus = Some(self.current_focus);
|
||||
|
Loading…
Reference in New Issue
Block a user