Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resize to terminal dimension #17

Closed
stjohnfinn opened this issue Sep 22, 2023 · 1 comment · Fixed by #21
Closed

Resize to terminal dimension #17

stjohnfinn opened this issue Sep 22, 2023 · 1 comment · Fixed by #21

Comments

@stjohnfinn
Copy link

I have my terminal full screen right now and its only taking up like a third of it. I believe this application should take advantage of as much real estate as it can. I guess really this issue could be reframed as "make it responsive". If there's no logic to resize larger, then I'm guessing there's no logic to make it resize smaller. Responsiveness would be good to add I think.

@braheezy
Copy link
Owner

I didn't see any built-in tools to BubbleTea or Bubbles to build a responsive UI. Which means you have to do the maths yourself by examining the current terminal size and choosing the layout accordingly.

I updated it so at least the content appears in the center of the terminal and moves as it's resized.

Peek.2024-02-17.09-44.webm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants