From 67dc397a2881418e2a9303884f1fa69f91cb2f81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Slobodan=20Mi=C5=A1kovi=C4=87?= Date: Fri, 23 Sep 2016 22:13:23 -0700 Subject: [PATCH] Fix resizing terminal window width not working --- CHANGELOG.md | 5 +++++ src/docker/run.js | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 35742a66..5cbe81f8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/src/docker/run.js b/src/docker/run.js index 3530b905..b7e80e36 100644 --- a/src/docker/run.js +++ b/src/docker/run.js @@ -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) {