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

(v2) duplicated line in split-editors example on init #1157

Open
meowgorithm opened this issue Sep 18, 2024 · 4 comments
Open

(v2) duplicated line in split-editors example on init #1157

meowgorithm opened this issue Sep 18, 2024 · 4 comments
Labels
Milestone

Comments

@meowgorithm
Copy link
Member

This is likely on the Bubbles v2 side of things but when the split-editors example initializes the first lines in textarea are duplicated. This goes away on keypress.

Screenshot 2024-09-18 at 3 09 36 PM
@meowgorithm meowgorithm added this to the v2.0.0 milestone Sep 18, 2024
@aymanbagabas aymanbagabas changed the title v2: duplicated line in split-editors example on init (v2) duplicated line in split-editors example on init Sep 19, 2024
@aymanbagabas
Copy link
Member

I'm not able to reproduce using Kitty and Ghostty with/without Tmux :/

@haoqixu
Copy link

haoqixu commented Nov 5, 2024

This issue occurs in v2.0.0-alpha.1 and originated from commit v2.0.0-alpha.1~24.

Before this commit, when Program was initialized with WithAltScreen(), Program.Run() would call p.render.SetMode(), which cleared the screen with ansi.EraseEntireDisplay and ansi.MoveCursorOrigin.

I believe this issue has been fixed in d727a8c on the v2-* branches.

@haoqixu
Copy link

haoqixu commented Nov 5, 2024

I think #1159 is also caused by the same problem.

@haoqixu
Copy link

haoqixu commented Nov 6, 2024

I think #1159 is also caused by the same problem.

cc @robinovitch61

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

No branches or pull requests

3 participants