Re: [PATCH 2/2] Don't wrap mouse scrolling in choice-mode lists.
> + if (m->wheel == MOUSE_WHEEL_UP) { > + if (data->selected != data->top) > + window_choose_key(wp, sess, KEYC_UP); > + } That obviously fails for more than a screenful of choices. Correction at
[PATCH 2/2] Don't wrap mouse scrolling in choice-mode lists.
Feels somewhat more natural. Objections? --- window-choose.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/window-choose.c b/window-choose.c index 9406b9c..8f1ab5c 100644 --- a/window-choose.c +++ b/window-choose.c @@ -726,10 +726,13 @@ window_choose_mouse( i