Loading cccli/commands/console.py +1 −1 Original line number Diff line number Diff line Loading @@ -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) Loading Loading
cccli/commands/console.py +1 −1 Original line number Diff line number Diff line Loading @@ -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) Loading