...
This commit is contained in:
parent
f3dd2a8bfd
commit
e4781b8af0
1 changed files with 1 additions and 1 deletions
|
|
@ -2734,7 +2734,7 @@ find_cmd_output(Screen *self, OutputOffset *oo, index_type start_y, unsigned int
|
|||
if (found_next_prompt) {
|
||||
oo->num_lines = end - start;
|
||||
} else if (found_output) {
|
||||
oo->num_lines = (direction < 0 ? start_y : downward_limit) - start;
|
||||
oo->num_lines = (direction < 0 ? start_y : (unsigned int)downward_limit) - start;
|
||||
} else return false;
|
||||
oo->start = start;
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Reference in a new issue