Rename TerminadoEventHandler

This commit is contained in:
Kristóf Tóth 2018-04-26 10:12:47 +02:00
parent 26801bed52
commit b897ec449c
1 changed files with 2 additions and 2 deletions

View File

@ -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)