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

shell: set initial term size

parent 913f59fd
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -98,6 +98,8 @@ class Command_shell(TqlCommand):
        tun = self.rpc.create_tunnel(obj["output"], endpoint=FakeTtySocket())
        try:
            signal.signal(signal.SIGWINCH, _cb_sig_resize)
            # set initial size of term
            _cb_sig_resize()
            tun.wait_shutdown()
        finally:
            # restore original signal