Add a missing case break
This commit is contained in:
parent
2bfb490798
commit
24401825b4
1
sdn.cpp
1
sdn.cpp
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user