From 0f9c01289e3dc34911846144b5963b1c147ce7e2 Mon Sep 17 00:00:00 2001 From: nightwing Date: Tue, 8 Dec 2015 22:39:18 +0000 Subject: [PATCH] c0-change-trigger option is removed in tmux 2.1 --- node_modules/vfs-local/localfs.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/node_modules/vfs-local/localfs.js b/node_modules/vfs-local/localfs.js index 76cd3587..4033eff5 100644 --- a/node_modules/vfs-local/localfs.js +++ b/node_modules/vfs-local/localfs.js @@ -1841,8 +1841,9 @@ module.exports = function setup(fsOptions) { ); // disable buffering of tmux output - // TODO investigate if using capture pane after desync is faster - args.push(";", "setw", "c0-change-trigger", "0"); + // old versions of tmux skip parts of output without this flag + if (parseFloat(TMUXNAME.substr("cloud9".length)) < 2.1) + args.push(";", "setw", "c0-change-trigger", "0"); if (options.output) { args.push(