add F1-F4, update get_key signature
add example for testing curses keys