From 58324051ae02e22f7d6ab7ee9369f7d20faeea25 Mon Sep 17 00:00:00 2001 From: Anton Medvedev Date: Mon, 9 Dec 2019 13:31:13 +0700 Subject: [PATCH] Add comment about terminal resize --- fx.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fx.js b/fx.js index 3fc6925..748c9ae 100644 --- a/fx.js +++ b/fx.js @@ -110,6 +110,9 @@ module.exports = function start(filename, source, prev = {}) { autocomplete.hide() process.stdout.on('resize', () => { + // Blessed has a bug with resizing the terminal. I tried my best to fix it but was not succeeded. + // For now exit and print seem like a reasonable alternative, as it not usable after resize. + // If anyone can fix this bug it will be cool. printJson({expanded}) })