on main help sign in
fix: fix `h` and `l` keys not working on models filter
commit3a5375faf49699ce47ed05ef30e1eab02f1b06b9 authorAndrey Nering <andreynering@users.noreply.github.com> dateWed 26 Nov 2025, 14:57 (1 year ago) parent77da29d
1 file changed+3−5
internal/tui/components/dialogs/models/models.go+3−5
internal/tui/components/dialogs/models/models.go+3−5
@@ -154,11 +154,9 @@ func (m *modelDialogCmp) Update(msg tea.Msg) (util.Model, tea.Cmd) {
154154 util.ReportInfo("URL copied to clipboard"),
155155 )
156156 }
157− case key.Matches(msg, m.keyMap.Choose):
158− if m.showClaudeAuthMethodChooser {
159− m.claudeAuthMethodChooser.ToggleChoice()
160− return m, nil
161− }
157+ case key.Matches(msg, m.keyMap.Choose) && m.showClaudeAuthMethodChooser:
158+ m.claudeAuthMethodChooser.ToggleChoice()
159+ return m, nil
162160 case key.Matches(msg, m.keyMap.Select):
163161 selectedItem := m.modelList.SelectedModel()
164162