Browse Source

Shell: Print job status after suspending a command

Andreas Kling 5 năm trước cách đây
mục cha
commit
0c6ce063e6
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  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();
 }