Fix numlock key cannot output number

Closed #45

Signed-off-by: ChangZhuo Chen (陳昌倬) <czchen@gmail.com>
Merge branch 'master' into general_index