Skip to content

Commit

Permalink
Fix bug 1312871 - Swap cols and rows the first time we send screen si…
Browse files Browse the repository at this point in the history
…ze (#177)
  • Loading branch information
jonasfj authored and eliperelman committed Nov 14, 2016
1 parent 752e067 commit a76a6f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shell/app.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ term.onTerminalReady = async () => {
term.setCursorVisible(false);
});

client.resize(term.screenSize.height, term.screenSize.width);
client.resize(term.screenSize.width, term.screenSize.height);

io.onTerminalResize = (c, r) => client.resize(c, r);
client.stdout.on('data', data => {
Expand Down

0 comments on commit a76a6f1

Please sign in to comment.