ncurses: split HandleKey()
- use switch/case instead of if/else if/else if - factor out HandleEditBoxKey() and HandleCommonKey() - return bool instead of int
Showing
This diff is collapsed.
Please register or sign in to comment
- use switch/case instead of if/else if/else if - factor out HandleEditBoxKey() and HandleCommonKey() - return bool instead of int