charmbracelet / charmbracelet/bubbletea

text rendering incorrectly using serial data

Open
#931 7 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**
text dose not render correctly when inserting longer line

**Setup**
Please complete the following information along with version numbers, if applicable.
- OS [e.g. Pop OS]
- Shell [e.g. bash]
- Terminal Emulator [e.g. wezterm]
- Terminal Multiplexer [e.g. wezterm workspaces ]

**To Reproduce**
i have text value that i append to data from serial port and its displayed

**Source Code**
https://github.com/Horryportier/go-serial-tui/blob/main/main.go

**Expected behavior**
content should not disappear whenever longer line is append. from my test's when not using data from serial it works without any issues

**Screenshots**
https://github.com/charmbracelet/bubbletea/assets/42907709/f60e8030-80da-46a3-bd8e-7f7bead8d006

Contributor guide

Open the contributing guide

Research direction

Start with the linked main.go source and reproduce the issue using serial input with a longer appended line. Compare the rendering with the non-serial case described in the report and inspect the related Bubble Tea rendering path. Done means the appended content remains visible without disrupting existing text.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.