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