-
Notifications
You must be signed in to change notification settings - Fork 807
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
docs: add debounce example #348
Conversation
Let me know if there is a specific reason this is better as markdown though that I haven't considered but I think this should be a |
I agree! Can move it to a running example |
b501ec3
to
cffc41e
Compare
(moved to an example instead of docs) |
let me know if comments could be improved or anything! |
examples/debounce/main.go
Outdated
} | ||
|
||
func (m model) View() string { | ||
return "To exit press any key, then wait for one second without pressing anything." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should the view maybe show the tag
so that if someone runs this example they see something changing?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great idea!
25d3581
to
744344d
Compare
heh, forgot to rebase from master before pushing 😂 |
Co-authored-by: Maas Lalani <maas@lalani.dev>
Co-authored-by: Maas Lalani <maas@lalani.dev>
744344d
to
a922e73
Compare
Thank you @bashbunni! |
Changes: