Преглед изворни кода

Shell: Print job status after suspending a command

Andreas Kling пре 5 година
родитељ
комит
0c6ce063e6
1 измењених фајлова са 3 додато и 0 уклоњено
  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();
     loop.exec();
 
 
+    if (job->is_suspended())
+        job->print_status(Job::PrintStatusMode::Basic);
+
     restore_ios();
     restore_ios();
 }
 }