gizak / termui

Golang terminal dashboard
MIT License
13.11k stars 786 forks source link

Height adaption #134

Closed Chillance closed 5 years ago

Chillance commented 7 years ago

Hey!

This is great! However, will widgets also adapt to the terminal's height somehow? Now they do width wise, but not height-wise.

I suppose this also could also require some kind of "scroll view" or some other functionality so I can scroll in a list that doesn't show all items.

cjbassi commented 5 years ago

Hi, Grid height has been added to master in 958a28575d7411492d25e42da3ad5a6e5947d9a4, so widgets in a grid should resize vertically when the terminal height changes.

Scrolling is a good idea and something I would like to implement still.

cjbassi commented 5 years ago

Scrolling is actually tracked in #159, so I'm going to close this now. Feel free to subscribe to that thread if you want.

edit: And list scrolling is tracked in #208