[terminal] IJPL-249368 Add title to progress dialog that might be shown on tab closing

Use the same title as the one we show in `TerminalProcessesClosingNotifier` - when checking running terminal processes on project closing.


(cherry picked from commit 68ed9939abdcdea50476335cacfd8654fa352d1d)

IJ-CR-212635

GitOrigin-RevId: 3a946ced0ab4b5e9fd5e2c17b081141d193d2d04
This commit is contained in:
Konstantin Hudyakov
2026-07-31 08:36:49 +00:00
committed by intellij-monorepo-bot
parent a7c7ae0081
commit fffc5e69d7
@@ -69,7 +69,7 @@ abstract class TerminalTabCloseListener(
protected fun runCloseCheckBlocking(shouldConfirmClosing: suspend () -> Boolean): CloseCheckResult {
return try {
runWithModalProgressBlocking(myProject, "") {
runWithModalProgressBlocking(myProject, TerminalBundle.message("checking.running.terminal.processes.progress")) {
if (shouldConfirmClosing()) {
CloseCheckResult.SHOULD_ASK_CONFIRMATION
}