Browse Source

Shell: Print job status after suspending a command

Andreas Kling 5 years ago
parent
commit
0c6ce063e6
1 changed files with 3 additions and 0 deletions
  1. 3 0
      Shell/Shell.cpp

+ 3 - 0
Shell/Shell.cpp

@@ -674,6 +674,9 @@ void Shell::block_on_job(RefPtr<Job> job)
 
     loop.exec();
 
+    if (job->is_suspended())
+        job->print_status(Job::PrintStatusMode::Basic);
+
     restore_ios();
 }