118 curses keypad

https://aiit.backlog.jp/view/2014YC-118