From 715bcb2f506dae45fa4a805d22e72eb08aceff80 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Fri, 17 Jun 2022 14:54:41 -0400 Subject: [PATCH] Prevent shell session from playing console output --- confluent_server/confluent/shellserver.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/confluent_server/confluent/shellserver.py b/confluent_server/confluent/shellserver.py index 5c23edc3..3dbf475a 100644 --- a/confluent_server/confluent/shellserver.py +++ b/confluent_server/confluent/shellserver.py @@ -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})