I’m currently writing my own tview tree table widget where items can be multiple lines long. Turns out scrolling and offsets are quite a challenge. I might have to revisit my mental model. Building this on top of urwid was much easier as I could use some existing widgets as building blocks like a list that already implemented scrolling for arbitrary long items. Tview on the other hand doesn’t offer me anything that I can reuse for this undertaking. Starting from scratch.
@lyse@lyse.isobeef.org Yup, implementing stuff like that is way more complicated and annoying than one might think. 🤔
@movq@www.uninformativ.de Absolutely. Stopped for today, have to consult my pillow. @prologic@twtxt.net What’s that? I don’t find anything useful with that term.
@prologic@twtxt.net Ah, that only provides graph stuff. Unfortunately, doesn’t help me.
I could paint on a second screen and then copy over the cropped segment that should be in view. I think I’ve seen this happening in urwird for scrolling. I could be wrong.
@prologic@twtxt.net Tview itself ships a list and tree widget, but they’re extremely limited. List items must all have either one or two lines, tree items can only be one line long.
@prologic@twtxt.net At least that’s the goal. However, progress will not be made until the weekend, that’s for sure.