Change new-keymap keymap name prompt (#24701)

This commit is contained in:
jack 2024-12-11 13:28:30 -07:00 committed by GitHub
parent 1b5ae7aa71
commit 0228806ae8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -23,19 +23,17 @@ def validate_keymap_name(name):
def prompt_keyboard():
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? """
return question(prompt)
def prompt_user():
prompt = """
{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())