summaryrefslogtreecommitdiff
path: root/lib/python/qmk/cli/new
diff options
context:
space:
mode:
authorjack <jack@pngu.org>2024-12-11 13:28:30 -0700
committerGitHub <noreply@github.com>2024-12-11 12:28:30 -0800
commit0228806ae8d1f12fc2c254b310c73076cfbde0d5 (patch)
treed51fb002bb14e8f8faa74c28a9f565a3329cf278 /lib/python/qmk/cli/new
parent1b5ae7aa71cbdf055877470e40c3d78aebaab619 (diff)
Change `new-keymap` keymap name prompt (#24701)
Diffstat (limited to 'lib/python/qmk/cli/new')
-rwxr-xr-xlib/python/qmk/cli/new/keymap.py6
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
24def prompt_keyboard(): 24def prompt_keyboard():
25 prompt = """{fg_yellow}Select Keyboard{style_reset_all} 25 prompt = """{fg_yellow}Select Keyboard{style_reset_all}
26If you`re unsure you can view a full list of supported keyboards with {fg_yellow}qmk list-keyboards{style_reset_all}. 26If you're unsure you can view a full list of supported keyboards with {fg_yellow}qmk list-keyboards{style_reset_all}.
27 27
28Keyboard Name? """ 28Keyboard Name? """
29
30 return question(prompt) 29 return question(prompt)
31 30
32 31
33def prompt_user(): 32def prompt_user():
34 prompt = """ 33 prompt = """
35{fg_yellow}Name Your Keymap{style_reset_all} 34{fg_yellow}Name Your Keymap{style_reset_all}
36Used for maintainer, copyright, etc
37 35
38Your GitHub Username? """ 36Keymap name? """
39 return question(prompt, default=git_get_username()) 37 return question(prompt, default=git_get_username())
40 38
41 39