Skip to content

Commit 723f26c

Browse files
committed
feat(conventional_commits.py): Add filter/search feature for commit change type
1 parent 13bc11a commit 723f26c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Diff for: commitizen/cz/conventional_commits/conventional_commits.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,11 @@ class ConventionalCommitsCz(BaseCommitizen):
4343
def questions(self) -> Questions:
4444
questions: Questions = [
4545
{
46-
"type": "list",
46+
"type": "select",
4747
"name": "prefix",
4848
"message": "Select the type of change you are committing",
49+
"use_search_filter": True,
50+
"use_jk_keys": False,
4951
"choices": [
5052
{
5153
"value": "fix",
@@ -209,4 +211,4 @@ def process_commit(self, commit: str) -> str:
209211
m = re.match(pat, commit)
210212
if m is None:
211213
return ""
212-
return m.group(3).strip()
214+
return m.group(3).strip()

0 commit comments

Comments
 (0)