new_contents: from curtsies import Input
  
  def main():
      with Input(keynames='curses') as input_generator:
          for e in input_generator:
              print(repr(e))
  
  if __name__ == '__main__':
      main()
  
subject: add example for testing curses keys