Add a NOBLOCK flag rather than adding amount to wait for when

dealing with potentially-long sequences. GitHub issue 3001.
This commit is contained in:
nicm
2021-12-10 12:42:37 +00:00
parent d721fb2a9f
commit db3aabcc34
2 changed files with 8 additions and 2 deletions

2
tmux.h
View File

@ -1311,7 +1311,7 @@ struct tty {
#define TTY_NOCURSOR 0x1
#define TTY_FREEZE 0x2
#define TTY_TIMER 0x4
/* 0x8 unused */
#define TTY_NOBLOCK 0x8
#define TTY_STARTED 0x10
#define TTY_OPENED 0x20
/* 0x40 unused */