Fix lag when using cursor keys in an interactive 'fig run'
This commit is contained in:
parent
4646ac85b0
commit
40d04a076c
1 changed files with 12 additions and 15 deletions
|
|
@ -91,9 +91,6 @@ class SocketClient:
|
||||||
|
|
||||||
def send(self, socket, stream):
|
def send(self, socket, stream):
|
||||||
while True:
|
while True:
|
||||||
r, w, e = select([stream.fileno()], [], [])
|
|
||||||
|
|
||||||
if r:
|
|
||||||
chunk = stream.read(1)
|
chunk = stream.read(1)
|
||||||
|
|
||||||
if chunk == '':
|
if chunk == '':
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue