Change new-keymap
keymap name prompt (#24701)
This commit is contained in:
parent
1b5ae7aa71
commit
0228806ae8
1 changed files with 2 additions and 4 deletions
|
@ -23,19 +23,17 @@ def validate_keymap_name(name):
|
||||||
|
|
||||||
def prompt_keyboard():
|
def prompt_keyboard():
|
||||||
prompt = """{fg_yellow}Select Keyboard{style_reset_all}
|
prompt = """{fg_yellow}Select Keyboard{style_reset_all}
|
||||||
If you`re unsure you can view a full list of supported keyboards with {fg_yellow}qmk list-keyboards{style_reset_all}.
|
If you're unsure you can view a full list of supported keyboards with {fg_yellow}qmk list-keyboards{style_reset_all}.
|
||||||
|
|
||||||
Keyboard Name? """
|
Keyboard Name? """
|
||||||
|
|
||||||
return question(prompt)
|
return question(prompt)
|
||||||
|
|
||||||
|
|
||||||
def prompt_user():
|
def prompt_user():
|
||||||
prompt = """
|
prompt = """
|
||||||
{fg_yellow}Name Your Keymap{style_reset_all}
|
{fg_yellow}Name Your Keymap{style_reset_all}
|
||||||
Used for maintainer, copyright, etc
|
|
||||||
|
|
||||||
Your GitHub Username? """
|
Keymap name? """
|
||||||
return question(prompt, default=git_get_username())
|
return question(prompt, default=git_get_username())
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue