0x2c7/ruby_jard

[BUG] - Resizing terminal window breaks layout

scottbarrow opened this issue · 2 comments

Describe the bug
When resizing the terminal window the layout breaks

To Reproduce
Steps to reproduce the behavior:

  1. add jard toa. file
  2. resize terminal window

Expected behavior
Layout to adjust with the window

Screenshots
Screen Shot 2020-09-14 at 9 33 45 AM

0x2c7 commented

In previous versions, Jard used to auto-resize when the window changes. However, it has to refresh the whole window, and clear everything you are typing during resize event. That's kinda limited. So, I removed that feature to look for a better one. To make Jard resize perfectly, it must be aware of the current scroll position, able to control upward and downward scrolling, etc. I didn't found any solution for now 😓.
However, I agree that this layout broken is annoying. I think that we can accept the limitation and bring that feature back.

0x2c7 commented

This issue is fixed in #42. Once again, thank for reporting so many bugs 🙏