mirror of
https://github.com/tmux/tmux.git
synced 2024-11-05 18:38:48 +00:00
Merge branch 'obsd-master'
This commit is contained in:
commit
7de25d86e1
3
grid.c
3
grid.c
@ -1011,7 +1011,7 @@ grid_reflow_join(struct grid *target, struct grid *gd, u_int sx, u_int yy,
|
||||
* If this is now the last line, there is nothing more to be
|
||||
* done.
|
||||
*/
|
||||
if (yy + lines == gd->hsize + gd->sy)
|
||||
if (yy + 1 + lines == gd->hsize + gd->sy)
|
||||
break;
|
||||
line = yy + 1 + lines;
|
||||
|
||||
@ -1021,6 +1021,7 @@ grid_reflow_join(struct grid *target, struct grid *gd, u_int sx, u_int yy,
|
||||
if (gd->linedata[line].cellused == 0) {
|
||||
if (!wrapped)
|
||||
break;
|
||||
lines++;
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user