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

Undefined: tea.QuitMsg #1

Open
AvicennaJr opened this issue Apr 11, 2023 · 5 comments
Open

Undefined: tea.QuitMsg #1

AvicennaJr opened this issue Apr 11, 2023 · 5 comments

Comments

@AvicennaJr
Copy link

I get the following errors when trying some examples:

go/pkg/mod/github.com/aschey/[email protected]/prompt.go:106:23: undefined: tea.QuitMsg

@aschey
Copy link
Owner

aschey commented Apr 11, 2023

Unfortunately, this currently requires using a replace directive to use my fork of Bubble Tea until this PR: charmbracelet/bubbletea#536 is merged. See here: https://github.com/aschey/bubbleprompt/blob/main/go.mod#L53

Honestly, I probably won't be developing this project any further. Parts of the code are quite messy and I'm starting to work on a different approach to this problem using the language server protocol.

@AvicennaJr
Copy link
Author

Alright, I'll replace it and give it a try.

And that sucks but I understand, you have to be selective with where you put your effort.

Go-prompt is cool and I think I'll use that, but bubbleprompt would have been way cooler. Once I'm more confident with my go skills I'll perhaps help work on this.

@aschey
Copy link
Owner

aschey commented Apr 11, 2023

Yeah, go-prompt is pretty great. I would probably continue to clean this up instead of abandoning it, but most of my other work is in Rust and I have some other Rust projects that would benefit from something like this, so I'll probably focus my efforts there. If you'd like to pick this up, I'd be happy to help with any questions you have.

@AvicennaJr
Copy link
Author

Cool cool. I'll comeback here once I'm ready.

And its Rust™ now, don't want to get sued now do you 😂

@aschey
Copy link
Owner

aschey commented Apr 11, 2023

Oh man, don't tell the cops! I'll lose my Rust™ street cred 😨

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

No branches or pull requests

2 participants