From 0c5195f5a2e7e29e8adff8bb76ab850acf651701 Mon Sep 17 00:00:00 2001 From: ruinivist Date: Thu, 1 Jan 2026 02:33:00 +0000 Subject: [PATCH] deprecated mouseType fix --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index c008867..7eb03d7 100644 --- a/main.go +++ b/main.go @@ -105,7 +105,7 @@ func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { m.spinner, cmd = m.spinner.Update(msg) return m, cmd case tea.MouseMsg: - if msg.Type == tea.MouseLeft { + if msg.Button == tea.MouseButtonLeft { // within file tree if msg.X < m.width { if err := m.tree.SelectNodeAtLine(msg.Y); err == nil {