GateOne icon indicating copy to clipboard operation
GateOne copied to clipboard

rows en columns terminal WIndow

Open bitency opened this issue 10 years ago • 0 comments

Hi,

We have multiple terminals at one page. But for one terminal we need custom rows and columns. How can we set this values?

Our code: `

setTimeout(function(){ GateOne.Base.superSandbox("GateOne.MyModule", ["GateOne.Input", "GateOne.Terminal", "GateOne.Terminal.Input"], function (window, undefined) { GateOne.Terminal.killTerminal(5);

    setTimeout(function(){      
        GateOne.Terminal.newTerminal(5, null, mtr);
        GateOne.Terminal.terminals[5].rows = 500;
        GateOne.Terminal.terminals[5].columns = 500;
            GateOne.Terminal.sendString('\u0015ssh://root:pass@localhost:22\n', 5);    

    setTimeout(function(){
        GateOne.Terminal.sendString('\u0015stty -a\n', 5);
        },2000);
        },2000);
});
    },2000);

`

bitency avatar Apr 04 '16 13:04 bitency