add initial clipboard management for pasting
This commit is contained in:
@ -1,4 +0,0 @@
|
||||
#!/bin/python
|
||||
|
||||
bindings = {
|
||||
}
|
@ -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':{
|
||||
},
|
||||
|
@ -1,8 +1,6 @@
|
||||
#!/bin/python
|
||||
|
||||
from core import settings
|
||||
from core import soundIcons
|
||||
from core import bindings
|
||||
from core import runtime
|
||||
from core import screenData
|
||||
from core import generalInformation
|
||||
@ -14,9 +12,10 @@ environment = {
|
||||
'runtime': runtime.runtime,
|
||||
'generalInformation': generalInformation.generalInformation,
|
||||
'settings': settings.settings,
|
||||
'bindings': bindings.bindings,
|
||||
'commands': commands.commands,
|
||||
'input': input.input,
|
||||
'commandInfo': commands.commandInfo,
|
||||
'soundIcons': soundIcons.soundIcons,
|
||||
'commandBuffer': commands.commandBuffer,
|
||||
'input': input.input,
|
||||
'soundIcons': {},
|
||||
'bindings': {},
|
||||
}
|
||||
|
@ -1,4 +0,0 @@
|
||||
#!/bin/python
|
||||
|
||||
soundIcons = {
|
||||
}
|
Reference in New Issue
Block a user