mirror of
https://github.com/tmux/tmux.git
synced 2025-01-07 16:28:48 +00:00
Merge branch 'obsd-master'
This commit is contained in:
commit
a073d11c3e
@ -1339,8 +1339,10 @@ screen_write_cell(struct screen_write_ctx *ctx, const struct grid_cell *gc)
|
|||||||
|
|
||||||
/* Check this will fit on the current line and wrap if not. */
|
/* Check this will fit on the current line and wrap if not. */
|
||||||
if ((s->mode & MODE_WRAP) && s->cx > sx - width) {
|
if ((s->mode & MODE_WRAP) && s->cx > sx - width) {
|
||||||
|
log_debug("%s: wrapped at %u,%u", __func__, s->cx, s->cy);
|
||||||
screen_write_linefeed(ctx, 1, 8);
|
screen_write_linefeed(ctx, 1, 8);
|
||||||
s->cx = 0;
|
s->cx = 0;
|
||||||
|
screen_write_collect_flush(ctx, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Sanity check cursor position. */
|
/* Sanity check cursor position. */
|
||||||
|
Loading…
Reference in New Issue
Block a user