diff --git a/src/fenrir-package/commands/commands/set_clipboard_mark.py b/src/fenrir-package/commands/commands/set_clipboard_mark.py index 8b137891..b08db827 100644 --- a/src/fenrir-package/commands/commands/set_clipboard_mark.py +++ b/src/fenrir-package/commands/commands/set_clipboard_mark.py @@ -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