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 67dc397
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## dev
* Bug
* [Cmds] Fix resizing terminal window in `azk shell` didn't send new width to container


## v0.19.0 - (2016-09-28)

* Bug
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 67dc397

Please sign in to comment.