File tree Expand file tree Collapse file tree 2 files changed +20
-16
lines changed Expand file tree Collapse file tree 2 files changed +20
-16
lines changed Original file line number Diff line number Diff line change 99
1010- [config] [tests] [bug] `Issue #33 `_ bug. Partial rewrite of
1111 :meth: `config.expand `.
12+ - [cli] tmuxp will exit silently with ``Ctrl-c ``.
1213
1314.. _Issue #31 : https://github.com/tony/tmuxp/issues/31
1415
Original file line number Diff line number Diff line change @@ -953,19 +953,22 @@ def main():
953953 colors = args .colors
954954 )
955955
956- if args .callback is command_load :
957- command_load (args )
958- elif args .callback is command_convert :
959- command_convert (args )
960- elif args .callback is command_import_teamocil :
961- command_import_teamocil (args )
962- elif args .callback is command_import_tmuxinator :
963- command_import_tmuxinator (args )
964- elif args .callback is command_freeze :
965- command_freeze (args )
966- elif args .callback is command_attach_session :
967- command_attach_session (args )
968- elif args .callback is command_kill_session :
969- command_kill_session (args )
970- else :
971- parser .print_help ()
956+ try :
957+ if args .callback is command_load :
958+ command_load (args )
959+ elif args .callback is command_convert :
960+ command_convert (args )
961+ elif args .callback is command_import_teamocil :
962+ command_import_teamocil (args )
963+ elif args .callback is command_import_tmuxinator :
964+ command_import_tmuxinator (args )
965+ elif args .callback is command_freeze :
966+ command_freeze (args )
967+ elif args .callback is command_attach_session :
968+ command_attach_session (args )
969+ elif args .callback is command_kill_session :
970+ command_kill_session (args )
971+ else :
972+ parser .print_help ()
973+ except KeyboardInterrupt :
974+ pass
You can’t perform that action at this time.
0 commit comments