Skip to content
Permalink
Browse files

Add comment about terminal resize

  • Loading branch information
antonmedv committed Dec 9, 2019
1 parent f60d7aa commit 58324051ae02e22f7d6ab7ee9369f7d20faeea25
Showing with 3 additions and 0 deletions.
  1. +3 −0 fx.js
3 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})
})

0 comments on commit 5832405

Please sign in to comment.
You can’t perform that action at this time.