From e21cd2604fd389eb2f83b8e77aece1e9da01d466 Mon Sep 17 00:00:00 2001 From: Etoh Date: Sun, 17 Sep 2023 15:21:52 +0100 Subject: [PATCH] Add enter-to-exit prompt when EXE console is missing args --- syncplay/ui/ConfigurationGetter.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/syncplay/ui/ConfigurationGetter.py b/syncplay/ui/ConfigurationGetter.py index 7370201c..c84e39ed 100755 --- a/syncplay/ui/ConfigurationGetter.py +++ b/syncplay/ui/ConfigurationGetter.py @@ -412,6 +412,8 @@ def _promptForMissingArguments(self, error=None): if error: print("{}!".format(error)) print(getMessage("missing-arguments-error")) + if utils.isWindowsConsole(): + input(getMessage("enter-to-exit-prompt")) sys.exit() else: from syncplay.ui.GuiConfiguration import GuiConfiguration