|
@@ -473,12 +473,13 @@ class BaseCommands(HelpUIMixin, AliasesMixin, BaseUtilsMixin):
|
|
node = self._db_entries_to_nodes(nodes)[0]
|
|
node = self._db_entries_to_nodes(nodes)[0]
|
|
print(node)
|
|
print(node)
|
|
flushtimeout = self.config.get_value('Global', 'cls_timeout')
|
|
flushtimeout = self.config.get_value('Global', 'cls_timeout')
|
|
- flushtimeout = flushtimeout or 10
|
|
|
|
|
|
|
|
- print("Type Enter to flush screen or wait %s sec. " % flushtimeout)
|
|
|
|
|
|
+ if int(flushtimeout) != 0:
|
|
|
|
+ flushtimeout = flushtimeout or 10
|
|
|
|
+ print("Type Enter to flush screen or wait %s sec. " % flushtimeout)
|
|
|
|
|
|
- _wait_until_enter(_heard_enter, float(flushtimeout))
|
|
|
|
- self.do_cls('')
|
|
|
|
|
|
+ _wait_until_enter(_heard_enter, float(flushtimeout))
|
|
|
|
+ self.do_cls('')
|
|
|
|
|
|
def do_delete(self, args):
|
|
def do_delete(self, args):
|
|
|
|
|