Update copy_marked_to_clipboard.py
This commit is contained in:
parent
0029d61358
commit
d2ea8c120a
@ -1 +1,16 @@
|
|||||||
|
#!/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…
Reference in New Issue
Block a user