fenrir/src/fenrir-package/core/commands.py

28 lines
419 B
Python
Raw Normal View History

2016-07-08 19:36:27 -04:00
#!/bin/python
2016-07-10 17:02:17 -04:00
import time
2016-07-08 19:36:27 -04:00
# used as shared memory between commands
# use this in your own commands
commandBuffer = {
'clipboard':['chrys\n', 'test', 'ls\n'],
'currClipboard': 0,
2016-08-23 11:30:31 -04:00
'Marks':{'1':None, '2':None}
}
# used by the commandManager
2016-07-08 19:36:27 -04:00
commandInfo = {
'currCommand': '',
2016-07-10 17:02:17 -04:00
'lastCommandTime': time.time()
2016-07-08 19:36:27 -04:00
}
# used by the commandManager
2016-07-08 19:36:27 -04:00
commands = {
2016-07-12 17:09:11 -04:00
'onInput':{
2016-07-10 09:43:15 -04:00
},
'onScreenChanged':{
},
'commands':{
}
2016-07-08 19:36:27 -04:00
}