diff --git a/src/proc.cpp b/src/proc.cpp index 4f7b16071..f8c8ec783 100644 --- a/src/proc.cpp +++ b/src/proc.cpp @@ -230,6 +230,7 @@ void print_exit_warning_for_jobs(const job_list_t &jobs) { fputws(L"\n", stdout); fputws(_(L"A second attempt to exit will terminate them.\n"), stdout); fputws(_(L"Use 'disown PID' to remove jobs from the list without terminating them.\n"), stdout); + reader_schedule_prompt_repaint(); } void job_mark_process_as_failed(const std::shared_ptr &job, const process_t *failed_proc) { diff --git a/src/reader.cpp b/src/reader.cpp index e04843b29..be1e6eab7 100644 --- a/src/reader.cpp +++ b/src/reader.cpp @@ -2279,6 +2279,7 @@ static parser_test_error_bits_t reader_shell_test(parser_t &parser, const wcstri error_desc.push_back(L'\n'); } std::fwprintf(stderr, L"\n%ls", error_desc.c_str()); + reader_schedule_prompt_repaint(); } return res; }