mirror of
https://github.com/tmux/tmux.git
synced 2024-12-13 18:38:48 +00:00
Wrap a couple of long lines.
This commit is contained in:
parent
0aab5811ca
commit
56157444de
@ -1035,8 +1035,10 @@ screen_write_cell(
|
|||||||
if (screen_check_selection(s, s->cx - width, s->cy)) {
|
if (screen_check_selection(s, s->cx - width, s->cy)) {
|
||||||
memcpy(&tmp_gc2, &s->sel.cell, sizeof tmp_gc2);
|
memcpy(&tmp_gc2, &s->sel.cell, sizeof tmp_gc2);
|
||||||
tmp_gc2.data = gc->data;
|
tmp_gc2.data = gc->data;
|
||||||
tmp_gc2.flags = gc->flags & ~(GRID_FLAG_FG256|GRID_FLAG_BG256);
|
tmp_gc2.flags = gc->flags &
|
||||||
tmp_gc2.flags |= s->sel.cell.flags & (GRID_FLAG_FG256|GRID_FLAG_BG256);
|
~(GRID_FLAG_FG256|GRID_FLAG_BG256);
|
||||||
|
tmp_gc2.flags |= s->sel.cell.flags &
|
||||||
|
(GRID_FLAG_FG256|GRID_FLAG_BG256);
|
||||||
ttyctx.cell = &tmp_gc2;
|
ttyctx.cell = &tmp_gc2;
|
||||||
tty_write(tty_cmd_cell, &ttyctx);
|
tty_write(tty_cmd_cell, &ttyctx);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user