Closed Kunniii closed 4 months ago
Hey @Kunniii that happens to me as well from time to time, but no always. It's something related to the textarea, as you can see there are keystrokes at the end of it. I tried by using .Blur() by default not to receive keystrokes but that didn't help.
Will try to fix that, still quite new to bubbletea.
@Kunniii have you or anyone you know worked with bubbletea? This bug kills me, sometimes it works as expected, sometimes it freezes...
@plutov Yes, i would love to contribute. Let me try to fix this bug as well!
@Kunniii btw what terminal are you using ?
It's Alacritty
I am using oh-my-zsh and warp.dev
This issue is strange, sometimes it works, sometimes it hangs.
I end up with these weird symbols in input. Not sure where they come from.
I think the problem is when we load the hosts to show it on textarea
. Once you write the hosts to the hosts
file, the next time it loads correctly.
I'm testing it locally, and there is no hang so far.
When I comment this line it work well, but we kind of need to set the value there.
// m.textarea.SetValue(strings.Join(m.domains, "\n"))
@Kunniii I solved it by overriding the styles of textarea. I noticed that this issue is caused by libgloss.Adaptive and doesn't appear if I use constant colors. Please install the latest version and verify.
Great! I also noticed that the color code is from the default LibGloss style of the textare! Thanks for the fix!
When i select
> blacklist
the app freeze for a few seconds (3 to 10 secs). After that, it shows the list of domains with the last entry ending with a color code.