Changeset 58:2afdccfb9c67


Ignore:
Timestamp:
Aug 31, 2009, 6:55:18 PM (11 years ago)
Author:
Simon Cross <hodgestar@…>
Branch:
default
Convert:
svn:b4e93282-eac8-4b8b-b765-0f5d36de2b68@59
Message:

Hide keyboard interrupt message on Ctrl-C exit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gamelib/main.py

    r11 r58  
    3131    main_menu_app = create_menu_app()
    3232    engine = Engine(main_menu_app)
    33     engine.run(MainMenuState(engine), screen)
     33    try:
     34        engine.run(MainMenuState(engine), screen)
     35    except KeyboardInterrupt:
     36        pass
Note: See TracChangeset for help on using the changeset viewer.