mirror of
https://github.com/antonmedv/fx
synced 2024-11-05 12:00:46 +00:00
Add comment about terminal resize
This commit is contained in:
parent
f60d7aa89c
commit
58324051ae
3
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})
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user