diff --git a/pudb/__init__.py b/pudb/__init__.py index b543480b..a6023b34 100644 --- a/pudb/__init__.py +++ b/pudb/__init__.py @@ -189,7 +189,7 @@ def _runscript(mainpyfile, dbg, args=None, pre_run="", run_as_module=False): urwid.ListBox(urwid.SimpleListWalker([urwid.Text( "Your PuDB session has ended.\n\n%s" "Would you like to quit PuDB or restart your program?\n" - "You may hit 'q' to quit." + "You may hit 'q' to quit or 'r' to restart." % status_msg), urwid.Text("\n\nIf you decide to restart, this command " "will be run prior to actually restarting:"), @@ -206,6 +206,7 @@ def _runscript(mainpyfile, dbg, args=None, pre_run="", run_as_module=False): extra_bindings=[ ("q", "quit"), ("esc", "examine"), + ("r", "restart"), ]) if result == "quit":