Use the same code for half page scrolling as full, from Michal Mazurek.

This commit is contained in:
nicm
2016-05-01 13:39:05 +00:00
parent 87be2da4e1
commit 4a6eca5bd7
3 changed files with 24 additions and 34 deletions

View File

@ -83,7 +83,7 @@ cmd_copy_mode_exec(struct cmd *self, struct cmd_q *cmdq)
window_copy_start_drag(c, &cmdq->item->mouse);
}
if (wp->mode == &window_copy_mode && args_has(self->args, 'u'))
window_copy_pageup(wp);
window_copy_pageup(wp, 0);
return (CMD_RETURN_NORMAL);
}