Add comment about terminal resize

This commit is contained in:
Anton Medvedev 2019-12-09 13:31:13 +07:00
parent f60d7aa89c
commit 58324051ae

3
fx.js
View File

@ -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})
})