]> sourceware.org Git - newlib-cygwin.git/commit
Simplify check for Alt-Numpad
authorCorinna Vinschen <corinna@vinschen.de>
Thu, 19 Jan 2017 20:41:21 +0000 (21:41 +0100)
committerCorinna Vinschen <corinna@vinschen.de>
Thu, 19 Jan 2017 20:42:10 +0000 (21:42 +0100)
commit3b7b65b2f8a809af30eb1eff6f26df5907e6f0ba
tree160a0f33d8b66563ea76f624fcadc923b2185cbb
parent9985cf66e99121964c830502f68498e062802811
Simplify check for Alt-Numpad

Create two new inline functions is_alt_numpad_key(PINPUT_RECORD) and
is_alt_numpad_event(PINPUT_RECORD) which contain the actual checks.
Call these functions from fhandler_console::read and peek_console for
better readability.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
winsup/cygwin/fhandler_console.cc
winsup/cygwin/miscfuncs.h
winsup/cygwin/select.cc
This page took 0.03045 seconds and 5 git commands to generate.