sturdy-dev / semantic-code-search

Search your codebase with natural language • CLI • No data leaves your computer
GNU Affero General Public License v3.0
297 stars 26 forks source link

Bug fix to not exit when id is 0 #26

Open beornf opened 1 year ago

beornf commented 1 year ago

Small bug fix as selected_idx should only exit when None and not the false value 0. The current behavior is when you select the first option the editor will not appear.