diff options
| author | Jeff Carr <[email protected]> | 2025-03-03 23:50:11 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-03-03 23:50:11 -0600 |
| commit | 6127fa1cbb8a68f0b125f50b760822828c7f20e5 (patch) | |
| tree | 0d636d5b50a84a8969bc4e854a6532680c701726 /structs.go | |
| parent | 54bbe72aa8fe60c21e3bca46a5455a2965859c5b (diff) | |
try out sync.Once
Diffstat (limited to 'structs.go')
| -rw-r--r-- | structs.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -138,6 +138,7 @@ type dropdown struct { // settings for the dropdown window type internalTK struct { + once sync.Once // for init tk *guiWidget // where to show STDOUT callerTK *guiWidget // which widget called the dropdown menu wId int // the widget id to use |
