qmk_firmware

QMK firmware for my keyboards (Corne, Sweep Ferris) and trackball (Ploopy Adept)
Log | Files | Refs | Submodules | LICENSE

commit b25218ccc1d8f72c14a0c175a7594822ea0f865e
parent aab394505f05723c6a3e82bbfeee0b35165de2b2
Author: QMK Bot <hello@qmk.fm>
Date:   Sun, 31 Oct 2021 08:21:50 +0000

Merge remote-tracking branch 'origin/master' into develop

Diffstat:
Mlib/python/qmk/info.py | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git a/lib/python/qmk/info.py b/lib/python/qmk/info.py @@ -99,6 +99,12 @@ def info_json(keyboard): # Check that the reported matrix size is consistent with the actual matrix size _check_matrix(info_data) + # Remove newline characters from layout labels + for layout_name, layout_json in layouts.items(): + for key in layout_json['layout']: + if '\n' in key['label']: + key['label'] = key['label'].split('\n')[0] + return info_data