version 1.141, 2019/03/12 07:39:27 |
version 1.142, 2019/03/12 11:16:50 |
|
|
input_reset_cell(ictx); |
input_reset_cell(ictx); |
|
|
if (clear) { |
if (clear) { |
if (wp->mode == NULL) |
if (TAILQ_EMPTY(&wp->modes)) |
screen_write_start(&ictx->ctx, wp, &wp->base); |
screen_write_start(&ictx->ctx, wp, &wp->base); |
else |
else |
screen_write_start(&ictx->ctx, NULL, &wp->base); |
screen_write_start(&ictx->ctx, NULL, &wp->base); |
|
|
* Open the screen. Use NULL wp if there is a mode set as don't want to |
* Open the screen. Use NULL wp if there is a mode set as don't want to |
* update the tty. |
* update the tty. |
*/ |
*/ |
if (wp->mode == NULL) |
if (TAILQ_EMPTY(&wp->modes)) |
screen_write_start(&ictx->ctx, wp, &wp->base); |
screen_write_start(&ictx->ctx, wp, &wp->base); |
else |
else |
screen_write_start(&ictx->ctx, NULL, &wp->base); |
screen_write_start(&ictx->ctx, NULL, &wp->base); |