Skip to content

Commit 6780bd6

Browse files
authored
Merge pull request #1705 from lesamouraipourpre/baudot-tty
Baudot TTY: Update for CP7
2 parents a8acbcc + 5c645e8 commit 6780bd6

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

Baudot_TTY/baudot_tty_GUI.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,15 @@
4141

4242
# title
4343
title_label = label.Label(
44-
terminalio.FONT, text="TTY CLUE", scale=4, color=VFD_GREEN, max_glyphs=11
44+
terminalio.FONT, text="TTY CLUE", scale=4, color=VFD_GREEN
4545
)
4646
title_label.x = 20
4747
title_label.y = 16
4848
screen.append(title_label)
4949

5050
# footer
5151
footer_label = label.Label(
52-
terminalio.FONT, text="<PICK SEND>", scale=2, color=VFD_GREEN, max_glyphs=40
52+
terminalio.FONT, text="<PICK SEND>", scale=2, color=VFD_GREEN
5353
)
5454
footer_label.x = 4
5555
footer_label.y = 220
@@ -69,9 +69,7 @@
6969

7070
for message_config in messages_config:
7171
(name, textline, color, x, y) = message_config # unpack tuple into five var names
72-
message_label = label.Label(
73-
terminalio.FONT, text=textline, color=color, max_glyphs=50
74-
)
72+
message_label = label.Label(terminalio.FONT, text=textline, color=color)
7573
message_label.x = x
7674
message_label.y = y
7775
messages_labels[name] = message_label

0 commit comments

Comments
 (0)