diff --git a/cccli/command.py b/cccli/command.py index bea4c9d203c395dd566e95ea1ad23ed4952ea2a8..a0ada544aa5c55f90cc0e84a479ee16f107936d3 100644 --- a/cccli/command.py +++ b/cccli/command.py @@ -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'''