mirror of
https://github.com/tmux/tmux.git
synced 2025-03-13 21:58:48 +00:00
PANE_FREEZE doesn't do anything anymore, so remove it.
This commit is contained in:
parent
0503f83c64
commit
1202284f37
1
tmux.h
1
tmux.h
@ -807,7 +807,6 @@ struct window_pane {
|
|||||||
|
|
||||||
int flags;
|
int flags;
|
||||||
#define PANE_REDRAW 0x1
|
#define PANE_REDRAW 0x1
|
||||||
#define PANE_FREEZE 0x2
|
|
||||||
|
|
||||||
char *cmd;
|
char *cmd;
|
||||||
char *shell;
|
char *shell;
|
||||||
|
@ -170,7 +170,6 @@ window_copy_init(struct window_pane *wp)
|
|||||||
data->searchtype = WINDOW_COPY_OFF;
|
data->searchtype = WINDOW_COPY_OFF;
|
||||||
data->searchstr = NULL;
|
data->searchstr = NULL;
|
||||||
|
|
||||||
wp->flags |= PANE_FREEZE;
|
|
||||||
if (wp->fd != -1)
|
if (wp->fd != -1)
|
||||||
bufferevent_disable(wp->event, EV_READ|EV_WRITE);
|
bufferevent_disable(wp->event, EV_READ|EV_WRITE);
|
||||||
|
|
||||||
@ -234,7 +233,6 @@ window_copy_free(struct window_pane *wp)
|
|||||||
{
|
{
|
||||||
struct window_copy_mode_data *data = wp->modedata;
|
struct window_copy_mode_data *data = wp->modedata;
|
||||||
|
|
||||||
wp->flags &= ~PANE_FREEZE;
|
|
||||||
if (wp->fd != -1)
|
if (wp->fd != -1)
|
||||||
bufferevent_enable(wp->event, EV_READ|EV_WRITE);
|
bufferevent_enable(wp->event, EV_READ|EV_WRITE);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user