mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-14 00:47:30 +00:00
Trigger prompt repaint after printing parser error or background job warning
See #7289
This commit is contained in:
parent
c4f8c95c52
commit
09f189870e
2 changed files with 2 additions and 0 deletions
|
@ -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_t> &job, const process_t *failed_proc) {
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue