add initial clipboard management for pasting

This commit is contained in:
chrys
2016-08-23 00:51:39 +02:00
parent 0c7a103eab
commit 57f61e80f5
16 changed files with 246 additions and 15 deletions

View File

@@ -1,12 +1,22 @@
#!/bin/python
import time
# used as shared memory between commands
# use this in your own commands
commandBuffer = {
'clipboard':['chrys\n', 'test', 'ls\n'],
'currClipboard': 0,
'clipboardMark':{'1':None, '2':None}
}
# used by the commandManager
commandInfo = {
'currCommand': '',
'commandCueue':[],
'lastCommandTime': time.time()
}
# used by the commandManager
commands = {
'onInput':{
},