mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-11-23 01:51:32 +00:00
Add proof of concept for terminal pty writing
This commit is contained in:
parent
bddc10269b
commit
c4c07a4c85
@ -14,4 +14,5 @@ class TerminadoEventHandler(TriggerlessEventHandler):
|
|||||||
|
|
||||||
def handle_event(self, key, data_json):
|
def handle_event(self, key, data_json):
|
||||||
log.debug('TerminadoEventHandler received event for key {}'.format(key))
|
log.debug('TerminadoEventHandler received event for key {}'.format(key))
|
||||||
# TODO: wat do?
|
self.terminado_server.pty.write('echo cica\n')
|
||||||
|
# TODO: design & implement pty.write API
|
||||||
|
Loading…
Reference in New Issue
Block a user