equal
deleted
inserted
replaced
10 buf.fill(c='#') |
10 buf.fill(c='#') |
11 buf.hline(1, 1, 14, c='-') |
11 buf.hline(1, 1, 14, c='-') |
12 buf.hline(1, 6, 14, c='-') |
12 buf.hline(1, 6, 14, c='-') |
13 buf.vline(7, 2, 4, c='|') |
13 buf.vline(7, 2, 4, c='|') |
14 buf.puts(8, 4, 'Hello!') |
14 buf.puts(8, 4, 'Hello!') |
|
15 buf.frame() |
15 |
16 |
16 for y in range(buf.size.h): |
17 for y in range(buf.size.h): |
17 for x in range(buf.size.w): |
18 for x in range(buf.size.w): |
18 print(buf.get(x, y)[0], end='') |
19 print(buf.get(x, y)[0], end='') |
19 print() |
20 print() |