Skip to content

Commit 9211aea

Browse files
authored
Merge pull request #32 from elva-labs/fix/account-filter
fix: prevent 'c' char copy from intercepting account filter
2 parents 406d651 + f913c3d commit 9211aea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -987,7 +987,7 @@ func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
987987

988988
// Add check for 'c' key press to copy verification code
989989
case "c":
990-
if m.state == stateSelectAccount && m.verificationCode != "" {
990+
if m.state == stateSelectAccount && m.verificationCode != "" && m.accountList.FilterState() != list.Filtering {
991991
return m, tea.SetClipboard(m.verificationCode)
992992
}
993993

0 commit comments

Comments
 (0)