Utils: Re-add "press enter to continue" to stub

To keep the terminal from closing immediately, ask the user
to press enter after the inferior exited.

Make it configurable as the terminal plugin does not need
this.

Change-Id: I1949895f022a54539a6139be9f92fdc698f6534e
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Marcus Tillmanns
2023-03-21 10:15:54 +01:00
parent 129562ea6f
commit 80fa3339e0
4 changed files with 26 additions and 4 deletions

View File

@@ -58,6 +58,7 @@ public:
};
TerminalProcessImpl::TerminalProcessImpl(TerminalPane *terminalPane)
: TerminalInterface(false)
{
auto creator = new ProcessStubCreator(this, terminalPane);
creator->moveToThread(qApp->thread());