소스 검색

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();
 
+    if (job->is_suspended())
+        job->print_status(Job::PrintStatusMode::Basic);
+
     restore_ios();
 }