Added extern"C" around ctype.h
Added arrow up/down binding