Skip to content

Commit

Permalink
Merge branch 'obsd-master'
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasAdam committed Jun 3, 2018
2 parents 54cd292 + ba31d3a commit 7de25d8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion grid.c
Expand Up @@ -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;

Expand All @@ -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;
}

Expand Down
3 changes: 2 additions & 1 deletion tmux.1
Expand Up @@ -3589,7 +3589,8 @@ and
.Ql #} ,
unless they are part of a
.Ql #{...}
replacement. For example:
replacement.
For example:
.Bd -literal -offset indent
#{?pane_in_mode,#[fg=white#,bg=red],#[fg=red#,bg=white]}#W .
.Ed
Expand Down

0 comments on commit 7de25d8

Please sign in to comment.