diff options
| author | Phillip Wood <phillip.wood@dunelm.org.uk> | 2022-03-16 18:54:04 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2022-03-16 12:24:44 -0700 |
| commit | 6606d99bae4161289d498b51a21acd11aa09e6ef (patch) | |
| tree | c22dcea648e0905ef7f38349408747be8732afe9 /commit.c | |
| parent | terminal: don't assume stdin is /dev/tty (diff) | |
| download | git-6606d99bae4161289d498b51a21acd11aa09e6ef.tar.gz git-6606d99bae4161289d498b51a21acd11aa09e6ef.zip | |
terminal: work around macos poll() bug
On macos the builtin "add -p" does not handle keys that generate
escape sequences because poll() does not work with terminals
there. Switch to using select() on non-windows platforms to work
around this.
Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions
