Skip to content
Snippets Groups Projects
Commit 93b1a976 authored by Seblu's avatar Seblu
Browse files

command clear

parent 74f80f56
No related branches found
No related tags found
No related merge requests found
......@@ -225,6 +225,11 @@ class Command(object):
self._startstopsdestroypauseresume(argv)
cmd_destroy.usage = "destroy [tql]"
def cmd_clear(self, argv):
'''Clear tty'''
self.printer.out("\033[H\033[2J", nl="")
cmd_clear.usage = "clear"
class Alias(dict):
''' Alias wrapper'''
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment