mirror of
https://github.com/mum4k/termdash.git
synced 2025-04-25 13:48:50 +08:00
Merge pull request #238 from mum4k/mum4k-patch-1
Fixing typo in a comment.
This commit is contained in:
commit
660ef91c20
@ -130,7 +130,7 @@ func WidthFor(text string) Option {
|
||||
}
|
||||
|
||||
// Key configures the keyboard key that presses the button.
|
||||
// The widget responds to this key only if its container if focused.
|
||||
// The widget responds to this key only if its container is focused.
|
||||
// When not provided, the widget ignores all keyboard events.
|
||||
func Key(k keyboard.Key) Option {
|
||||
return option(func(opts *options) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user