Sync OpenBSD patchset 648:

copy mode uses the real screen as backing and if it is updated while copying,
strange things can happen. So, freeze reading from the pty while in copy mode.
This commit is contained in:
Tiago Cunha
2010-02-26 13:26:44 +00:00
parent b4c2710bf7
commit ecac081a55
3 changed files with 13 additions and 4 deletions

3
tmux.h
View File

@ -1,4 +1,4 @@
/* $Id: tmux.h,v 1.545 2010-02-18 12:35:16 tcunha Exp $ */
/* $Id: tmux.h,v 1.546 2010-02-26 13:26:44 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -786,6 +786,7 @@ struct window_pane {
int flags;
#define PANE_REDRAW 0x1
#define PANE_FREEZE 0x2
char *cmd;
char *shell;