mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-11-12 19:37:16 +00:00
10 lines
235 B
Python
10 lines
235 B
Python
from tfw.components import TerminalCommands
|
|
|
|
|
|
class TerminalCommandsEventHandler(TerminalCommands):
|
|
keys = ['history.bash']
|
|
|
|
def handle_event(self, message, _):
|
|
command = message['value']
|
|
self.callback(command)
|