Update set_clipboard_mark.py
This commit is contained in:
parent
1341c525d0
commit
55bcff48e1
@ -1 +1,18 @@
|
|||||||
|
#!/bin/python
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
class command():
|
||||||
|
def __init__(self):
|
||||||
|
pass
|
||||||
|
def run(self, environment):
|
||||||
|
if len(environment['commandBuffer']['clipboard']) == 0:
|
||||||
|
environment['runtime']['outputManager'].presentText(environment, 'clipboard empty', interrupt=True)
|
||||||
|
return environment
|
||||||
|
environment['commandBuffer']['currClipboard'] = 0
|
||||||
|
environment['runtime']['outputManager'].presentText(environment, environment['commandBuffer']['clipboard'][environment['commandBuffer']['currClipboard']], interrupt=True)
|
||||||
|
return environment
|
||||||
|
def setCallback(self, callback):
|
||||||
|
pass
|
||||||
|
def shutdown(self):
|
||||||
|
pass
|
||||||
|
Loading…
x
Reference in New Issue
Block a user