expand the size of the textpad to allow for taller keyboards (#13319)

This commit is contained in:
Zach White 2021-06-23 20:35:36 -07:00 committed by GitHub
parent 2d60444df1
commit 42f4528a45
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -160,7 +160,7 @@ def rules_mk(keyboard):
def render_layout(layout_data, render_ascii, key_labels=None):
"""Renders a single layout.
"""
textpad = [array('u', ' ' * 200) for x in range(50)]
textpad = [array('u', ' ' * 200) for x in range(100)]
style = 'ascii' if render_ascii else 'unicode'
box_chars = BOX_DRAWING_CHARACTERS[style]