mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-09 20:21:16 -03:00
Reformat all .cpp files
This commit is contained in:
@@ -645,8 +645,7 @@ static void s_update(screen_t *scr, const wcstring &left_prompt, const wcstring
|
||||
// Determine how many lines have stuff on them; we need to clear lines with stuff that we don't
|
||||
// want.
|
||||
const size_t lines_with_stuff = std::max(actual_lines_before_reset, scr->actual.line_count());
|
||||
if (scr->desired.line_count() < lines_with_stuff)
|
||||
need_clear_screen = true;
|
||||
if (scr->desired.line_count() < lines_with_stuff) need_clear_screen = true;
|
||||
|
||||
if (left_prompt != scr->actual_left_prompt) {
|
||||
s_move(scr, 0, 0);
|
||||
|
||||
Reference in New Issue
Block a user