Commit 4bff3f3e authored by Sébastien Luttringer's avatar Sébastien Luttringer
Browse files

Use new resize function API

parent 68567017
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -92,7 +92,7 @@ class Command_rshell(TqlCommand):
            size = fcntl.ioctl(0, termios.TIOCGWINSZ, size)
            size = struct.unpack('HHHH', size)
            try:
                self.rpc.call('rshell_resize', obj["output"], *size)
                self.rpc.call('resize', None, *size)
            except RpcError as e:
                # we dont care of failure of this
                self.printer.debug("Terminal resize failed: %s" % e)