Another quick interact fix for Putty

git-svn-id: https://kippo.googlecode.com/svn/trunk@219 951d7100-d841-11de-b865-b3884708a8e2
This commit is contained in:
desaster
2012-04-13 05:58:58 +00:00
parent f756438e51
commit 15777aca0e

View File

@@ -63,8 +63,9 @@ class Interact(telnet.Telnet):
ttylog.ttylog_write(
self.interacting.ttylog_file,
len(bytes), ttylog.TYPE_INTERACT, time.time(), bytes)
recvline.HistoricRecvLine.keystrokeReceived(
self.interacting, bytes, None)
for c in bytes:
recvline.HistoricRecvLine.keystrokeReceived(
self.interacting, c, None)
def sessionWrite(self, data):
buf, prev = '', ''