Home | History | Annotate | Download | only in curses

Lines Matching refs:ulx

6 def rectangle(win, uly, ulx, lry, lrx):
10 win.vline(uly+1, ulx, curses.ACS_VLINE, lry - uly - 1)
11 win.hline(uly, ulx+1, curses.ACS_HLINE, lrx - ulx - 1)
12 win.hline(lry, ulx+1, curses.ACS_HLINE, lrx - ulx - 1)
14 win.addch(uly, ulx, curses.ACS_ULCORNER)
17 win.addch(lry, ulx, curses.ACS_LLCORNER)
180 uly, ulx = 15, 20
181 stdscr.addstr(uly-2, ulx, "Use Ctrl-G to end editing.")
182 win = curses.newwin(nlines, ncols, uly, ulx)
183 rectangle(stdscr, uly-1, ulx-1, uly + nlines, ulx + ncols)