You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After #157 is merged, there is still a leftover glitch; when you have a small terminal (let's say 10 lines) and you enlarge it, the page recalc logic doesn't trigger immediately.
To have a full responsive application we'd need to intercept the terminal resize event and act accordingly, but it would be easier to just use a proper terminal library, like https://github.com/charmbracelet/bubbletea .
The introduction of a terminal lib requires a pretty large re-design of the program but would also enable scrolling and more interactivity, like the feature to select and cancel a job and so on. Also it would promote a clean separation between data and presentation.
https://github.com/charmbracelet/bubbletea is amazing, however I'm a bit hesitant to change the overall TUI structure of this project at this point in time. Several people are using it now on a daily basis and I would feel that this is a rather big change in a tool that they expect to work.
I'm not opposing the idea in general, in fact I played with the idea myself a couple of times already. I'm just saying, we need to be very careful what we're doing here.
After #157 is merged, there is still a leftover glitch; when you have a small terminal (let's say 10 lines) and you enlarge it, the page recalc logic doesn't trigger immediately.
To have a full responsive application we'd need to intercept the terminal resize event and act accordingly, but it would be easier to just use a proper terminal library, like https://github.com/charmbracelet/bubbletea .
The introduction of a terminal lib requires a pretty large re-design of the program but would also enable scrolling and more interactivity, like the feature to select and cancel a job and so on. Also it would promote a clean separation between data and presentation.
For reference, I wrote a small blog post on a very simple example.
The text was updated successfully, but these errors were encountered: