Update 'CARDPUTER CircuitPython/full_display_test.py'
This commit is contained in:
@@ -20,9 +20,9 @@ board.DISPLAY.root_group = text_area
|
|||||||
while True:
|
while True:
|
||||||
key = keyb.scan()
|
key = keyb.scan()
|
||||||
if key == "BACKSP":
|
if key == "BACKSP":
|
||||||
text = text[:-1]
|
text = text[:-1]
|
||||||
elif key == "CTRLD":
|
elif key == "CTRLD":
|
||||||
text = "Press CTRL+D to clear text\n\n"
|
text = "Press CTRL+D to clear text\n\n"
|
||||||
else:
|
else:
|
||||||
text = text+key
|
text = text+key
|
||||||
text_area.text = text
|
text_area.text = text
|
||||||
Reference in New Issue
Block a user