File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 1111# https://learn.adafruit.com/circuitpython-display-support-using-displayio/display-and-display-bus
1212display = board .DISPLAY
1313
14- text = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, " \
15- "sed do eiusmod tempor incididunt ut labore et dolore magna " \
16- "aliqua. Ut enim ad minim veniam, quis nostrud exercitation " \
17- "ullamco laboris nisi ut aliquip ex ea commodo consequat."
14+ text = (
15+ "Lorem ipsum dolor sit amet, consectetur adipiscing elit, "
16+ "sed do eiusmod tempor incididunt ut labore et dolore magna "
17+ "aliqua. Ut enim ad minim veniam, quis nostrud exercitation "
18+ "ullamco laboris nisi ut aliquip ex ea commodo consequat."
19+ )
1820text = "\n " .join (wrap_text_to_lines (text , 28 ))
1921text_area = label .Label (terminalio .FONT , text = text )
2022text_area .x = 10
You can’t perform that action at this time.
0 commit comments