2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-22 01:22:00 +00:00

Prevent shell session from playing console output

This commit is contained in:
Jarrod Johnson 2022-06-17 14:54:41 -04:00
parent 86f13db803
commit 60df685640

View File

@ -41,6 +41,10 @@ class _ShellHandler(consoleserver.ConsoleHandler):
return
#return super().feedbuffer(data)
def get_recent(self):
retdata, connstate = super(_ShellHandler, self).get_recent()
return '', connstate
def _got_disconnected(self):
self.connectstate = 'closed'
self._send_rcpts({'connectstate': self.connectstate})