mirror of
https://github.com/mum4k/termdash.git
synced 2026-04-27 03:15:55 +03:00
[PR #286] [MERGED] Allow updating the callback function on an existing button instance. #304
Labels
No labels
bug
cleanup
enhancement
enhancement
enhancement
good first issue
help wanted
help wanted
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/termdash#304
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/mum4k/termdash/pull/286
Author: @mum4k
Created: 12/30/2020
Status: ✅ Merged
Merged: 12/30/2020
Merged by: @mum4k
Base:
devel← Head:243-button-set-callback📝 Commits (2)
d70bcd1Allow updating the callback function on an existing button instance.93428e8Allow a no-op button with a nil callback.📊 Changes
3 files changed (+153 additions, -29 deletions)
View changed files
📝
CHANGELOG.md(+2 -0)📝
widgets/button/button.go(+21 -12)📝
widgets/button/button_test.go(+130 -17)📄 Description
Works on #243.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.