Commit 93b1a976 authored by Seblu's avatar Seblu
Browse files

command clear

parent 74f80f56
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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'''