piotrpdev / kuby

Very simple CLI visualization of Kubernetes resources.
0 stars 1 forks source link

Adjust table size based on terminal size #10

Closed piotrpdev closed 1 year ago

piotrpdev commented 1 year ago

Currently the tables stay the same size at all times, make them resize dynamically to fill the terminal.

Figure out what to do if the table then becomes too big, maybe clamp the size and set some kind of upper limit?

Maybe handle really small terminal sizes too.

piotrpdev commented 1 year ago

Table looks a bit weird if it's bigger than it needs to be, also clamped the height in latest commit.

Still need to handle table being too small, but you could just increase the size ¯_(ツ)_/¯