2012-03-09 16:28:38 -05:00
|
|
|
#!/usr/bin/env python
|
|
|
|
|
|
|
|
import curses
|
|
|
|
|
2012-03-30 13:00:23 -04:00
|
|
|
def windowLayout(stdscr):
|
|
|
|
w = curses.newwin(5,10,10,10)
|
|
|
|
w.box()
|
2012-03-10 00:51:38 -05:00
|
|
|
w.refresh()
|
2012-03-30 13:00:23 -04:00
|
|
|
w.getch()
|
|
|
|
w2 = w.derwin(2,7,2,2)
|
|
|
|
w2.box()
|
|
|
|
w2.refresh()
|
|
|
|
w2.getch()
|
2012-03-10 00:42:58 -05:00
|
|
|
|
2012-03-30 13:00:23 -04:00
|
|
|
curses.wrapper(windowLayout)
|