Add a missing case break

This commit is contained in:
Přemysl Eric Janouch 2022-01-08 11:23:36 +01:00
parent 2bfb490798
commit 24401825b4
Signed by: p
GPG Key ID: A0420B94F92B9493
1 changed files with 1 additions and 0 deletions

View File

@ -1421,6 +1421,7 @@ fun handle (wint_t c) -> bool {
break; break;
case ACTION_SCROLL_UP: case ACTION_SCROLL_UP:
g.offset--; g.offset--;
break;
case ACTION_CENTER: case ACTION_CENTER:
g.offset = g.cursor - (visible_lines () - 1) / 2; g.offset = g.cursor - (visible_lines () - 1) / 2;
break; break;