charmbracelet/bubbletea

Progress bar behaving strangely

shiyuhang0 opened this issue · 0 comments

Describe the bug

The progress bar behaved strangely with a small size terminal. Here is the video.

2024-04-24.15.37.48.mov

Setup

  • OS: MacOS
  • Shell: zsh

To Reproduce

  1. Copy the example code here https://github.com/charmbracelet/bubbletea/blob/master/examples/progress-animated/main.go
  2. adjust your terminal size (reduce the size)
  3. run the example code

Source Code
Please include source code if needed to reproduce the behavior.

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
Add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.