/external/python/cpython2/Lib/curses/ |
wrapper.py | 0 """curses.wrapper 4 should be the rest of your curses-based application. If the 10 import curses 13 """Wrapper function that initializes curses and calls another function, 21 # Initialize curses 22 stdscr = curses.initscr() 26 curses.noecho() 27 curses.cbreak() 31 # a special value like curses.KEY_LEFT will be returned 36 # works around a minor bit of over-conscientiousness in the curses [all...] |
__init__.py | 0 """curses 3 The main package for curses support for Python. Normally used by importing 6 import curses 7 from curses import textpad 8 curses.initscr() 16 from curses.wrapper import wrapper 22 # versions of SGI's curses don't define values for those constants 25 # _curses module to the curses package's dictionary. Don't do 'from 26 # curses import *' if you'll be needing the ACS_* constants. 29 import _curses, curses [all...] |
textpad.py | 3 import curses 4 import curses.ascii 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) 13 win.vline(uly+1, lrx, curses.ACS_VLINE, lry - uly - 1) 14 win.addch(uly, ulx, curses.ACS_ULCORNER) 15 win.addch(uly, lrx, curses.ACS_URCORNER) 16 win.addch(lry, lrx, curses.ACS_LRCORNER) 17 win.addch(lry, ulx, curses.ACS_LLCORNER [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/curses/ |
wrapper.py | 0 """curses.wrapper 4 should be the rest of your curses-based application. If the 10 import curses 13 """Wrapper function that initializes curses and calls another function, 21 # Initialize curses 22 stdscr = curses.initscr() 26 curses.noecho() 27 curses.cbreak() 31 # a special value like curses.KEY_LEFT will be returned 36 # works around a minor bit of over-conscientiousness in the curses [all...] |
__init__.py | 0 """curses 3 The main package for curses support for Python. Normally used by importing 6 import curses 7 from curses import textpad 8 curses.initscr() 16 from curses.wrapper import wrapper 22 # versions of SGI's curses don't define values for those constants 25 # _curses module to the curses package's dictionary. Don't do 'from 26 # curses import *' if you'll be needing the ACS_* constants. 29 import _curses, curses [all...] |
textpad.py | 3 import curses 4 import curses.ascii 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) 13 win.vline(uly+1, lrx, curses.ACS_VLINE, lry - uly - 1) 14 win.addch(uly, ulx, curses.ACS_ULCORNER) 15 win.addch(uly, lrx, curses.ACS_URCORNER) 16 win.addch(lry, lrx, curses.ACS_LRCORNER) 17 win.addch(lry, ulx, curses.ACS_LLCORNER [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/curses/ |
wrapper.py | 0 """curses.wrapper 4 should be the rest of your curses-based application. If the 10 import curses 13 """Wrapper function that initializes curses and calls another function, 21 # Initialize curses 22 stdscr = curses.initscr() 26 curses.noecho() 27 curses.cbreak() 31 # a special value like curses.KEY_LEFT will be returned 36 # works around a minor bit of over-conscientiousness in the curses [all...] |
__init__.py | 0 """curses 3 The main package for curses support for Python. Normally used by importing 6 import curses 7 from curses import textpad 8 curses.initscr() 16 from curses.wrapper import wrapper 22 # versions of SGI's curses don't define values for those constants 25 # _curses module to the curses package's dictionary. Don't do 'from 26 # curses import *' if you'll be needing the ACS_* constants. 29 import _curses, curses [all...] |
textpad.py | 3 import curses 4 import curses.ascii 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) 13 win.vline(uly+1, lrx, curses.ACS_VLINE, lry - uly - 1) 14 win.addch(uly, ulx, curses.ACS_ULCORNER) 15 win.addch(uly, lrx, curses.ACS_URCORNER) 16 win.addch(lry, lrx, curses.ACS_LRCORNER) 17 win.addch(lry, ulx, curses.ACS_LLCORNER [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/curses/ |
wrapper.py | 0 """curses.wrapper 4 should be the rest of your curses-based application. If the 10 import curses 13 """Wrapper function that initializes curses and calls another function, 21 # Initialize curses 22 stdscr = curses.initscr() 26 curses.noecho() 27 curses.cbreak() 31 # a special value like curses.KEY_LEFT will be returned 36 # works around a minor bit of over-conscientiousness in the curses [all...] |
__init__.py | 0 """curses 3 The main package for curses support for Python. Normally used by importing 6 import curses 7 from curses import textpad 8 curses.initscr() 16 from curses.wrapper import wrapper 22 # versions of SGI's curses don't define values for those constants 25 # _curses module to the curses package's dictionary. Don't do 'from 26 # curses import *' if you'll be needing the ACS_* constants. 29 import _curses, curses [all...] |
textpad.py | 3 import curses 4 import curses.ascii 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) 13 win.vline(uly+1, lrx, curses.ACS_VLINE, lry - uly - 1) 14 win.addch(uly, ulx, curses.ACS_ULCORNER) 15 win.addch(uly, lrx, curses.ACS_URCORNER) 16 win.addch(lry, lrx, curses.ACS_LRCORNER) 17 win.addch(lry, ulx, curses.ACS_LLCORNER [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/curses/ |
wrapper.py | 0 """curses.wrapper 4 should be the rest of your curses-based application. If the 10 import curses 13 """Wrapper function that initializes curses and calls another function, 21 # Initialize curses 22 stdscr = curses.initscr() 26 curses.noecho() 27 curses.cbreak() 31 # a special value like curses.KEY_LEFT will be returned 36 # works around a minor bit of over-conscientiousness in the curses [all...] |
__init__.py | 0 """curses 3 The main package for curses support for Python. Normally used by importing 6 import curses 7 from curses import textpad 8 curses.initscr() 16 from curses.wrapper import wrapper 22 # versions of SGI's curses don't define values for those constants 25 # _curses module to the curses package's dictionary. Don't do 'from 26 # curses import *' if you'll be needing the ACS_* constants. 29 import _curses, curses [all...] |
textpad.py | 3 import curses 4 import curses.ascii 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) 13 win.vline(uly+1, lrx, curses.ACS_VLINE, lry - uly - 1) 14 win.addch(uly, ulx, curses.ACS_ULCORNER) 15 win.addch(uly, lrx, curses.ACS_URCORNER) 16 win.addch(lry, lrx, curses.ACS_LRCORNER) 17 win.addch(lry, ulx, curses.ACS_LLCORNER [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_curses.py | 2 # Test script for the curses module
14 # Optionally test curses module. This currently requires that the
15 # 'curses' resource be given on the regrtest command line using the -u
20 requires('curses')
21 curses = import_module('curses')
variable 22 curses.panel = import_module('curses.panel')
31 raise unittest.SkipTest("cygwin's curses mostly just hangs")
35 win = curses.newwin(10,10) [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_curses.py | 2 # Test script for the curses module 14 # Optionally test curses module. This currently requires that the 15 # 'curses' resource be given on the regrtest command line using the -u 20 requires('curses') 21 curses = import_module('curses') variable 22 curses.panel = import_module('curses.panel') 31 raise unittest.SkipTest("cygwin's curses mostly just hangs") 35 win = curses.newwin(10,10 [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_curses.py | 2 # Test script for the curses module 14 # Optionally test curses module. This currently requires that the 15 # 'curses' resource be given on the regrtest command line using the -u 20 requires('curses') 21 curses = import_module('curses') variable 22 curses.panel = import_module('curses.panel') 31 raise unittest.SkipTest("cygwin's curses mostly just hangs") 35 win = curses.newwin(10,10 [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_curses.py | 2 # Test script for the curses module 14 # Optionally test curses module. This currently requires that the 15 # 'curses' resource be given on the regrtest command line using the -u 20 requires('curses') 21 curses = import_module('curses') variable 22 curses.panel = import_module('curses.panel') 31 raise unittest.SkipTest("cygwin's curses mostly just hangs") 35 win = curses.newwin(10,10 [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_curses.py | 2 # Test script for the curses module 14 # Optionally test curses module. This currently requires that the 15 # 'curses' resource be given on the regrtest command line using the -u 20 requires('curses') 21 curses = import_module('curses') variable 22 curses.panel = import_module('curses.panel') 31 raise unittest.SkipTest("cygwin's curses mostly just hangs") 35 win = curses.newwin(10,10 [all...] |
/external/syslinux/gpxe/src/hci/mucurses/ |
alert.c | 1 #include <curses.h>
|
/external/python/cpython2/Lib/test/ |
test_curses.py | 2 # Test script for the curses module 20 # Optionally test curses module. This currently requires that the 21 # 'curses' resource be given on the regrtest command line using the -u 23 requires('curses') 26 curses = import_module('curses') variable 27 import_module('curses.panel') 28 import_module('curses.ascii') 31 return unittest.skipUnless(hasattr(curses, name), 32 'requires curses.%s' % name [all...] |
/external/python/cpython2/Demo/curses/ |
ncurses.py | 5 # (n)curses exerciser in Python, an interactive test for the curses 8 import curses 9 from curses import panel 25 curses.napms(nap_msec) 28 stdscr.move(curses.LINES - 1, 0) 33 win = curses.newwin(rows, cols, tly, tlx) 35 if curses.has_colors(): 36 if color == curses.COLOR_BLUE: 37 fg = curses.COLOR_WHIT [all...] |
rain.py | 7 import curses 16 if curses.has_colors(): 18 color = curses.color_pair(z) 20 color = color | curses.A_BOLD 26 # we know that the first argument from curses.wrapper() is stdscr. 31 if curses.has_colors(): 32 bg = curses.COLOR_BLACK 33 curses.init_pair(1, curses.COLOR_BLUE, bg) 34 curses.init_pair(2, curses.COLOR_CYAN, bg [all...] |
tclock.py | 8 import curses, time 25 if curses.has_colors(): 26 stdscr.attrset(curses.color_pair(pair)) 72 my_bg = curses.COLOR_BLACK 76 # curses.curs_set(0) 77 if curses.has_colors(): 78 curses.init_pair(1, curses.COLOR_RED, my_bg) 79 curses.init_pair(2, curses.COLOR_MAGENTA, my_bg [all...] |