commit 2bb35a8
delthas
·
2025-02-18 15:39:43 +0000 UTC
parent 31d0031
Fix highlight first action on start Thanks to ~sewn for filing this bug. Fixes: https://todo.sr.ht/~delthas/senpai/182
1 files changed,
+3,
-2
M
ui/ui.go
M
ui/ui.go
+3,
-2
1@@ -81,8 +81,9 @@ type UI struct {
2
3 func New(config Config) (ui *UI, err error) {
4 ui = &UI{
5- config: config,
6- clickEvents: make([]clickEvent, 0, 128),
7+ config: config,
8+ clickEvents: make([]clickEvent, 0, 128),
9+ memberClicked: -1,
10 }
11 if config.ChanColEnabled {
12 ui.channelWidth = config.ChanColWidth