Skip to content

Commit

Permalink
fix: typeahead being saved despite typeahead = false in config
Browse files Browse the repository at this point in the history
  • Loading branch information
abenz1267 committed Jan 11, 2025
1 parent 32e7bca commit 8ffcf57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/ui/interactions.go
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ func activateItem(keepOpen, alt bool) {
hstry.Save(identifier, strings.TrimSpace(elements.input.Text()))
}

if module != nil && (module.General().History || module.General().Typeahead) {
if module != nil && module.General().Typeahead {
history.SaveInputHistory(module.General().Name, elements.input.Text(), identifier)
}

Expand Down

0 comments on commit 8ffcf57

Please sign in to comment.