on main help sign in
fix: fix `h` and `l` keys not working on models filter
3a5375fAndrey Nering
internal/tui/components/dialogs/models/models.go+3−5
@@ -154,11 +154,9 @@ func (m *modelDialogCmp) Update(msg tea.Msg) (util.Model, tea.Cmd) {
154 util.ReportInfo("URL copied to clipboard"),
154 util.ReportInfo("URL copied to clipboard"),
155 )
155 )
156 }
156 }
157− case key.Matches(msg, m.keyMap.Choose):
157+ case key.Matches(msg, m.keyMap.Choose) && m.showClaudeAuthMethodChooser:
158− if m.showClaudeAuthMethodChooser {
159− m.claudeAuthMethodChooser.ToggleChoice()
158+ m.claudeAuthMethodChooser.ToggleChoice()
160− return m, nil
159+ return m, nil
161− }
162 case key.Matches(msg, m.keyMap.Select):
160 case key.Matches(msg, m.keyMap.Select):
163 selectedItem := m.modelList.SelectedModel()
161 selectedItem := m.modelList.SelectedModel()
164
162