Skip to content
This repository has been archived by the owner on Apr 9, 2020. It is now read-only.

Commit

Permalink
Fix resizing terminal window width not working
Browse files Browse the repository at this point in the history
  • Loading branch information
slobo committed Sep 29, 2016
1 parent e72adb0 commit b35aaea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
* [Core] Adding image envs in expand envs variable process;
* [Core] Adding support to escape variables in command options (shell and system);
* [Cli] Fixing error thrown when `azk scale` command was run, regardless of it being successful or not;
* [Cmds] Fix resizing terminal window in `azk shell` didn't send new width to container
* [Cli] Fixing escape character in `azk vm ssh`;
* [Sync] Fixing bug for when the path to be synced contained whitespace (#672);
* [Sync] Removing `system.name` from the destination sync path, which avoids multiple syncs for extended systems;
Expand Down
2 changes: 1 addition & 1 deletion src/docker/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ function new_resize(container) {
return function() {
var dimensions = {
h: process.stdout.rows,
w: process.stderr.columns
w: process.stdout.columns
};

if (dimensions.h !== 0 && dimensions.w !== 0) {
Expand Down

0 comments on commit b35aaea

Please sign in to comment.