mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-11-14 16:47:17 +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)
|