-
Notifications
You must be signed in to change notification settings - Fork 275
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
Caught panic: runtime error: index out of range [3] with length 3 #259
Comments
@maaslalani @muesli I believe this is caused by #263 combined with charmbracelet/bubbletea#466. The problem (as I understand it) is that when an unrecognized input containing control characters is received by bubbletea, it's translated to regular runes and then inserted by textarea (that's charmbracelet/bubbletea#466). Then the textinput/textarea misbehaves because of #263. The input key problem will be papered over by charmbracelet/bubbletea#467, but see my note on #263 on a durable fix by sanitizing the input runes (e.g. via the |
@j-mnr which terminal are you using? |
alacritty 0.11.0-dev (513e6a90) |
@j-mnr, Is this still an issue for you? |
Just re-ran my supplied example on my current version of alacritty 0.13.1 (fe2a3c56) and I couldn't reproduce the issue. Looks to be fixed. |
Thanks for confirming! |
👋 Hello 😄
While trying out some components from Bubbles I ran into an issue with the text-area component -- Full example on playground -- there were two things I noticed.
[
would make itself appear as if I typed it inI'm very new to
bubbletea
but I'm guessing this isn't expected to happen. Here's the entirego.mod
fileLet me know if there's anything you need to know about concerning my terminal or keyboard.
The text was updated successfully, but these errors were encountered: