author | Radek Brich <radek.brich@devl.cz> |
Wed, 20 Aug 2014 14:48:16 +0200 | |
changeset 100 | 3b2df86d8f94 |
parent 95 | 05392e369ede |
child 117 | 8680c2333546 |
permissions | -rwxr-xr-x |
#!/usr/bin/env python3 import demobase from tuikit.core.buffer import Buffer from tuikit.driver.driver import Driver buffer = Buffer(16, 8) 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() driver.init() driver.draw(buffer) driver.close()