File tree 1 file changed +5
-3
lines changed 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -35,8 +35,9 @@ This takes the following positional args:
35
35
## 4.2 Display updates
36
36
37
37
The class has no public properties or methods. The display is represented as an
38
- array of strings indexed by row. The row contents is replaced in its entirety.
39
- This is illustrated by the test program:
38
+ array of strings indexed by row. The row contents is replaced in its entirety,
39
+ replacing all previous contents regardless of length. This is illustrated by
40
+ the test program:
40
41
41
42
``` python
42
43
import uasyncio as asyncio
@@ -70,7 +71,8 @@ method.
70
71
71
72
For example this function formats a string such that it is left-padded with
72
73
spaces to a given column and right-padded to the specified width (typically the
73
- width of the display). This ensures previous contents are overwritten.
74
+ width of the display). Right padding is not necessary but is included to
75
+ illustrate how right-justified formatting can be achieved:
74
76
75
77
``` python
76
78
def print_at (st , col , width = 16 ):
You can’t perform that action at this time.
0 commit comments