commit b9b19ed08de29354f5d3fb4ad42442cf7faaf76d
parent 1ba16914d843ab67cd155d99e1ffe4ab1e180e22
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Mon, 6 Jul 2020 01:34:26 +0200
mousereport: remove draw(), use the draw in the general input handling code
This will reduce the amount of dirty checking also if multiple panes are dirty.
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/sfeed_curses.c b/sfeed_curses.c
@@ -1346,7 +1346,6 @@ mousereport(int button, int release, int x, int y)
pane_scrollpage(p, button == 3 ? -1 : +1);
break;
}
- draw();
}
}
@@ -1564,7 +1563,7 @@ main(int argc, char *argv[])
goto nextpage;
continue;
}
- continue;
+ break;
keyup:
case 'k':
pane_scrolln(&panes[selpane], -1);