Skip to content

Commit 49488a4

Browse files
committed
refactor: Add long_instruction parameter to get_input function for enhanced user guidance
1 parent 313632f commit 49488a4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

bugscanx/utils/common.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ def get_input(
4141
style=DEFAULT_STYLE,
4242
validate_input=True,
4343
instruction="",
44+
long_instruction="",
4445
mandatory=True,
4546
allow_comma_separated=True,
4647
**kwargs
@@ -68,7 +69,8 @@ def get_input(
6869
"choices": choices,
6970
"multiselect": multiselect,
7071
"transformer": transformer,
71-
"show_cursor": kwargs.pop("show_cursor", False)
72+
"show_cursor": kwargs.pop("show_cursor", False),
73+
"long_instruction": long_instruction or "Use ↑ ↓ to navigate, Enter to select."
7274
},
7375
"file": {
7476
"only_files": kwargs.pop("only_files", True)

0 commit comments

Comments
 (0)