mirror of
https://github.com/tmate-io/tmate-ssh-server.git
synced 2025-03-17 05:32:38 +00:00
Wrap a couple of long lines.
This commit is contained in:
parent
0aab5811ca
commit
56157444de
1 changed files with 4 additions and 2 deletions
|
@ -1035,8 +1035,10 @@ screen_write_cell(
|
|||
if (screen_check_selection(s, s->cx - width, s->cy)) {
|
||||
memcpy(&tmp_gc2, &s->sel.cell, sizeof tmp_gc2);
|
||||
tmp_gc2.data = gc->data;
|
||||
tmp_gc2.flags = gc->flags & ~(GRID_FLAG_FG256|GRID_FLAG_BG256);
|
||||
tmp_gc2.flags |= s->sel.cell.flags & (GRID_FLAG_FG256|GRID_FLAG_BG256);
|
||||
tmp_gc2.flags = gc->flags &
|
||||
~(GRID_FLAG_FG256|GRID_FLAG_BG256);
|
||||
tmp_gc2.flags |= s->sel.cell.flags &
|
||||
(GRID_FLAG_FG256|GRID_FLAG_BG256);
|
||||
ttyctx.cell = &tmp_gc2;
|
||||
tty_write(tty_cmd_cell, &ttyctx);
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue