mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
parent
bc57c7710f
commit
d6ceeb915d
1 changed files with 4 additions and 0 deletions
|
@ -682,12 +682,16 @@ void reader_write_title(const wcstring &cmd, bool reset_cursor_position) {
|
||||||
}
|
}
|
||||||
fputwc(L'\a', stdout);
|
fputwc(L'\a', stdout);
|
||||||
}
|
}
|
||||||
|
|
||||||
proc_pop_interactive();
|
proc_pop_interactive();
|
||||||
set_color(rgb_color_t::reset(), rgb_color_t::reset());
|
set_color(rgb_color_t::reset(), rgb_color_t::reset());
|
||||||
if (reset_cursor_position && !lst.empty()) {
|
if (reset_cursor_position && !lst.empty()) {
|
||||||
// Put the cursor back at the beginning of the line (issue #2453).
|
// Put the cursor back at the beginning of the line (issue #2453).
|
||||||
fputwc(L'\r', stdout);
|
fputwc(L'\r', stdout);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO: This should be removed when issue #3748 is fixed.
|
||||||
|
fflush(stdout);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Reexecute the prompt command. The output is inserted into data->prompt_buff.
|
/// Reexecute the prompt command. The output is inserted into data->prompt_buff.
|
||||||
|
|
Loading…
Reference in a new issue