|
@@ -227,8 +227,10 @@ class BaseCommands(HelpUIMixin, AliasesMixin):
|
|
for node in nodes:
|
|
for node in nodes:
|
|
password = ce.decrypt(node[2])
|
|
password = ce.decrypt(node[2])
|
|
tools.text_to_clipboards(password)
|
|
tools.text_to_clipboards(password)
|
|
- print("erasing in 10 sec...")
|
|
|
|
- time.sleep(10) # TODO: this should be configurable!
|
|
|
|
|
|
+ flushtimeout = self.config.get_value('Global', 'cp_timeout')
|
|
|
|
+ flushtimeout = flushtimeout or 10
|
|
|
|
+ print("erasing in {} sec...".format(flushtimeout))
|
|
|
|
+ time.sleep(int(flushtimeout))
|
|
tools.text_to_clipboards("")
|
|
tools.text_to_clipboards("")
|
|
|
|
|
|
def do_open(self, args): # pragma: no cover
|
|
def do_open(self, args): # pragma: no cover
|