mirror of
https://github.com/avatao-content/test-tutorial-framework
synced 2024-12-05 02:11:32 +00:00
Rename TerminadoEventHandler
This commit is contained in:
parent
26801bed52
commit
b897ec449c
@ -1,6 +1,6 @@
|
||||
from tornado.ioloop import IOLoop
|
||||
|
||||
from tfw.components import IdeEventHandler, TerminadoEventHandler, ProcessManagingEventHandler, BashMonitor
|
||||
from tfw.components import IdeEventHandler, TerminalEventHandler, ProcessManagingEventHandler, BashMonitor
|
||||
from tfw.components import TerminalCommands
|
||||
from tfw.networking import MessageSender, TFWServerConnector
|
||||
from tfw.config import TFWENV
|
||||
@ -57,7 +57,7 @@ if __name__ == '__main__':
|
||||
# pylint: disable=invalid-name
|
||||
ide = IdeEventHandler(key='ide', allowed_directories=[TFWENV.IDE_WD],
|
||||
directory=TFWENV.IDE_WD, exclude=['*.pyc'])
|
||||
terminado = TerminadoEventHandler(key='shell', monitor=BashMonitor(TFWENV.HISTFILE))
|
||||
terminado = TerminalEventHandler(key='shell', monitor=BashMonitor(TFWENV.HISTFILE))
|
||||
terminado.historymonitor.subscribe_callback(cenator)
|
||||
commands = TestCommands(bashrc=f'/home/{TAOENV.USER}/.bashrc')
|
||||
terminado.historymonitor.subscribe_callback(commands.callback)
|
||||
|
Loading…
Reference in New Issue
Block a user