diff options
| author | jack <jack@pngu.org> | 2024-12-11 13:28:30 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-11 12:28:30 -0800 |
| commit | 0228806ae8d1f12fc2c254b310c73076cfbde0d5 (patch) | |
| tree | d51fb002bb14e8f8faa74c28a9f565a3329cf278 /lib/python/qmk/cli/new | |
| parent | 1b5ae7aa71cbdf055877470e40c3d78aebaab619 (diff) | |
Change `new-keymap` keymap name prompt (#24701)
Diffstat (limited to 'lib/python/qmk/cli/new')
| -rwxr-xr-x | lib/python/qmk/cli/new/keymap.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/python/qmk/cli/new/keymap.py b/lib/python/qmk/cli/new/keymap.py index f1df05636c..8b7160f5f2 100755 --- a/lib/python/qmk/cli/new/keymap.py +++ b/lib/python/qmk/cli/new/keymap.py | |||
| @@ -23,19 +23,17 @@ def validate_keymap_name(name): | |||
| 23 | 23 | ||
| 24 | def prompt_keyboard(): | 24 | def prompt_keyboard(): |
| 25 | prompt = """{fg_yellow}Select Keyboard{style_reset_all} | 25 | prompt = """{fg_yellow}Select Keyboard{style_reset_all} |
| 26 | If you`re unsure you can view a full list of supported keyboards with {fg_yellow}qmk list-keyboards{style_reset_all}. | 26 | If you're unsure you can view a full list of supported keyboards with {fg_yellow}qmk list-keyboards{style_reset_all}. |
| 27 | 27 | ||
| 28 | Keyboard Name? """ | 28 | Keyboard Name? """ |
| 29 | |||
| 30 | return question(prompt) | 29 | return question(prompt) |
| 31 | 30 | ||
| 32 | 31 | ||
| 33 | def prompt_user(): | 32 | def prompt_user(): |
| 34 | prompt = """ | 33 | prompt = """ |
| 35 | {fg_yellow}Name Your Keymap{style_reset_all} | 34 | {fg_yellow}Name Your Keymap{style_reset_all} |
| 36 | Used for maintainer, copyright, etc | ||
| 37 | 35 | ||
| 38 | Your GitHub Username? """ | 36 | Keymap name? """ |
| 39 | return question(prompt, default=git_get_username()) | 37 | return question(prompt, default=git_get_username()) |
| 40 | 38 | ||
| 41 | 39 | ||
