mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-03 22:23:24 +00:00
cb1faee85d
PR: 4040 Suggested by: Hideyuki Suzuki <hideyuki@sat.t.u-tokyo.ac.jp>
12 lines
387 B
Plaintext
12 lines
387 B
Plaintext
--- src/term.c.orig Sat Jan 25 00:03:58 1997
|
|
+++ src/term.c Sat Apr 26 03:54:03 1997
|
|
@@ -205,7 +205,7 @@
|
|
PollCursor(TRUE);
|
|
}
|
|
if (FD_ISSET(sockFd, &readFds)) SocketInterface(sockFd);
|
|
- if (mInfo.has_mouse) {
|
|
+ if (mInfo.has_mouse && mouseFd > 0) {
|
|
if (FD_ISSET(mouseFd, &readFds) && con.active) {
|
|
i = read(mouseFd, buff, BUFSIZ);
|
|
if (i > 0) MouseGetPacket(buff, i);
|