iomenu

interactive text selection menu
Log | Files | Refs | README | LICENSE

commit 223058fdf9e2427b8ec9ec01df7185c074b545a7
parent bfaf3a787f09d5bb9c7157233fe81bfe14f9b44b
Author: Josuah Demangeon <mail@josuah.net>
Date:   Fri, 29 Sep 2017 16:06:16 +0200

iomenu.c: -Wimplicit-fallthrough

Diffstat:
Miomenu.c | 8++++++--
1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/iomenu.c b/iomenu.c @@ -432,13 +432,17 @@ top: break; case CSI('5'): /* page up */ - if (fgetc(stdin) != '~') break; + if (fgetc(stdin) != '~') + break; + /* fallthrough */ case ALT('v'): move_page(-1); break; case CSI('6'): /* page down */ - if (fgetc(stdin) != '~') break; + if (fgetc(stdin) != '~') + break; + /* fallthrough */ case CTL('V'): move_page(+1); break;