version 1.259, 2020/05/16 15:01:31 |
version 1.260, 2020/05/16 15:34:08 |
|
|
} |
} |
|
|
void |
void |
window_pane_alternate_on(struct window_pane *wp, struct grid_cell *gc, |
|
int cursor) |
|
{ |
|
if (!options_get_number(wp->options, "alternate-screen")) |
|
return; |
|
screen_alternate_on(&wp->base, gc, cursor); |
|
wp->flags |= PANE_REDRAW; |
|
} |
|
|
|
void |
|
window_pane_alternate_off(struct window_pane *wp, struct grid_cell *gc, |
|
int cursor) |
|
{ |
|
if (!options_get_number(wp->options, "alternate-screen")) |
|
return; |
|
screen_alternate_off(&wp->base, gc, cursor); |
|
wp->flags |= PANE_REDRAW; |
|
} |
|
|
|
void |
|
window_pane_set_palette(struct window_pane *wp, u_int n, int colour) |
window_pane_set_palette(struct window_pane *wp, u_int n, int colour) |
{ |
{ |
if (n > 0xff) |
if (n > 0xff) |