-
-
Notifications
You must be signed in to change notification settings - Fork 622
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Respond and reflow with terminal resize events #153
Comments
Yep, it's possible and Ink had it in pre-release versions, but I reverted it because of bugs. Will try it out again. |
Fix is in master, going to keep this issue open until Ink 3 release is out. |
Ink 3 is out with the fix for this issue included! Read the full announcement at https://vadimdemedes.com/posts/ink-3 :) |
Congrats @vadimdemedes ! |
Thanks @duncanbeevers! |
CC @vadimdemedes as this is a pretty old issue |
@gajus Feel free to open a new issue for this. |
Listening to
stdout.on('resize')
is pretty straight-forward, but it looks like the ink renderer is instantiated at a fixed terminalWidth.Is it feasible to reconfigure the renderer or to create a new renderer in response to terminal size changes?
The text was updated successfully, but these errors were encountered: