Merge pull request +11099 from c9/tmux-2.1

handle c0-change-trigger option being removed in tmux 2.1
pull/227/head
Lennart Kats 2015-12-16 10:46:29 +01:00
commit 8c2530b195
1 zmienionych plików z 3 dodań i 2 usunięć

5
node_modules/vfs-local/localfs.js wygenerowano vendored
Wyświetl plik

@ -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(