charmbracelet / charmbracelet/bubbletea

Progress bar behaving strangely

Open
#989 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
44.9k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**

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

https://github.com/charmbracelet/bubbletea/assets/52435083/423794df-d6c6-4fd0-b4f5-4123471df9e0

**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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.