changeset 95 | 05392e369ede |
parent 92 | b97c4e25ed6d |
child 117 | 8680c2333546 |
--- a/demos/01_buffer.py Fri Mar 28 10:44:29 2014 +0100 +++ b/demos/01_buffer.py Fri Mar 28 14:58:12 2014 +0100 @@ -7,11 +7,11 @@ buffer = Buffer(16, 8) -buffer.fill(c='#') -buffer.hline(1, 1, 14, c='-') -buffer.hline(1, 6, 14, c='-') -buffer.vline(7, 2, 4, c='|') -buffer.puts(8, 4, 'Hello!') +buffer.fill('#') +buffer.hline('-', 1, 1, 14) +buffer.hline('-', 1, 6, 14) +buffer.vline('|', 7, 2, 4) +buffer.puts('Hello!', 8, 4) buffer.frame() driver = Driver()