diff --git a/lib/tfw/components/terminal_event_handler.py b/lib/tfw/components/terminal_event_handler.py index 78041ef..9f7a640 100644 --- a/lib/tfw/components/terminal_event_handler.py +++ b/lib/tfw/components/terminal_event_handler.py @@ -55,9 +55,9 @@ class TerminalEventHandler(EventHandlerBase): Useful for pre-typing and executing commands for the user. :param data: TFW message data containing keys: - |-shellcmd: command to be written to the pty + |-value: command to be written to the pty """ - self.terminado_server.pty.write(data['shellcmd']) + self.terminado_server.pty.write(data['value']) def read(self, data): """