Nikhil Marathe  committed 0e56544

Allow exiting file info state on space or return being pressed.

  • Participants
  • Parent commits 411a02c

Comments (0)

Files changed (1)

File src/fileadelphia/

         return False
     def handle_keypress(self, event, x, y, world):
+        if event.key == K_RETURN or event.key == K_SPACE:
+            world.pop_state()
         if event.key == K_UP and pygame.key.get_mods() & KMOD_ALT:
         return True # always return True to disable camera motion