Skip to content
Discussion options

You must be logged in to vote

Hey @Kaychub ! Thanks for reaching out.

A few things, the switch needs to be switch msg.String() to register the keypress and instead of m.p.Println("Why can't I see this?") it should be tea.Println("Why can't I see this"). I'll look into updating our docs on pkg.go.dev to include an example. I hope that helps clear things up! Let us know if you have any other questions

Here is the working version of what you're aiming to accomplish

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@CalebJohnHunt
Comment options

@bashbunni
Comment options

Answer selected by CalebJohnHunt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
documentation Improvements or additions to documentation
2 participants