/external/python/cpython2/Lib/curses/ |
H A D | wrapper.py | 0 """curses.wrapper 4 should be the rest of your curses-based application. If the 10 import curses namespace 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...] |
H A D | textpad.py | 3 import curses namespace 4 import curses.ascii namespace 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 [all...] |
H A D | __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 namespace 46 import _curses, curses namespace [all...] |
/external/googletest/ci/ |
H A D | build-linux-bazel.sh | 34 bazel build --curses=no //...:all 35 bazel test --curses=no //...:all
|
/external/syslinux/gpxe/src/hci/mucurses/ |
H A D | alert.c | 1 #include <curses.h>
|
H A D | print_nadv.c | 1 #include <curses.h>
|
H A D | wininit.c | 2 #include <curses.h>
|
H A D | clear.c | 1 #include <curses.h>
|
H A D | colour.c | 1 #include <curses.h>
|
/external/python/cpython3/Lib/test/ |
H A D | 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 24 requires('curses') 27 curses = import_module('curses') variable 28 import_module('curses.panel') 29 import_module('curses.ascii') 30 import_module('curses.textpad') 33 return unittest.skipUnless(hasattr(curses, nam [all...] |
H A D | curses_tests.py | 5 # Interactive test suite for the curses module. 10 import curses namespace 11 from curses import textpad 23 win = curses.newwin(nlines, ncols, uly, ulx) 46 curses.wrapper(main)
|
/external/python/cpython2/Lib/test/ |
H A D | 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 [all...] |
H A D | curses_tests.py | 5 # Interactive test suite for the curses module. 10 import curses namespace 11 from curses import textpad 23 win = curses.newwin(nlines, ncols, uly, ulx) 46 curses.wrapper(main)
|
/external/python/cpython2/Demo/curses/ |
H A D | ncurses.py | 5 # (n)curses exerciser in Python, an interactive test for the curses 8 import curses namespace 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 [all...] |
H A D | rain.py | 7 import curses namespace 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 [all...] |
H A D | tclock.py | 8 import curses, time namespace 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 [all...] |
H A D | repeat.py | 7 much of it as fits on the screen). It uses curses to paint each new 26 import curses namespace 39 w = curses.initscr() 45 except curses.error: 56 curses.endwin()
|
H A D | xmas.py | 20 # I used a couple of `try...except curses.error' to get around some functions 26 import curses namespace 32 if curses.has_colors(): 34 curses.init_pair(n, color, my_bg) 35 win.attroff(curses.A_COLOR) 36 win.attron(curses.color_pair(n)) 39 if curses.has_colors(): 40 win.attrset(curses.color_pair(0)) 43 curses.napms(msecs) 45 curses [all...] |
/external/python/cpython3/Lib/curses/ |
H A D | textpad.py | 3 import curses namespace 4 import curses.ascii namespace 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 [all...] |
H A D | __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() 19 # versions of SGI's curses don't define values for those constants 22 # _curses module to the curses package's dictionary. Don't do 'from 23 # curses import *' if you'll be needing the ACS_* constants. 26 import _curses, curses namespace 34 setattr(curses, ke 43 import _curses, curses namespace [all...] |
/external/python/cpython3/Tools/demo/ |
H A D | life.py | 4 A curses-based version of Conway's Game of Life. 18 import curses namespace 43 scr -- curses screen object to use for display 77 if curses.has_colors(): 79 self.scr.attrset(curses.color_pair(random.randrange(1, 7))) 117 if curses.has_colors(): 119 self.scr.attrset(curses.color_pair( 157 if curses.has_colors(): 158 stdscr.attrset(curses.color_pair(1)) 174 if curses [all...] |
/external/swiftshader/third_party/LLVM/utils/lit/lit/ |
H A D | ProgressBar.py | 94 try: import curses namespace 102 try: curses.setupterm() 106 self.COLS = curses.tigetnum('cols') 107 self.LINES = curses.tigetnum('lines') 108 self.XN = curses.tigetflag('xenl') 119 setattr(self, color, curses.tparm(set_fg, i) or '') 123 setattr(self, color, curses.tparm(set_fg_ansi, i) or '') 127 setattr(self, 'BG_'+color, curses.tparm(set_bg, i) or '') 131 setattr(self, 'BG_'+color, curses.tparm(set_bg_ansi, i) or '') 137 import curses namespace [all...] |
/external/tensorflow/tensorflow/python/debug/cli/ |
H A D | curses_ui.py | 21 import curses namespace 22 from curses import textpad 215 interact with the actual terminal using the curses library. 227 # Limit screen width to work around the limitation of the curses library that 231 # Possible Enter keys. 343 is curses key code for the num-pad Enter key when 236 127: curses.KEY_BACKSPACE, # Backspace 237 curses.KEY_DC: 4, # Delete 241 cli_shared.COLOR_WHITE: curses.COLOR_WHITE, 242 cli_shared.COLOR_RED: curses.COLOR_RED, 243 cli_shared.COLOR_GREEN: curses [all...] |
/external/llvm/utils/lit/lit/ |
H A D | ProgressBar.py | 98 try: import curses namespace 106 try: curses.setupterm() 110 self.COLS = curses.tigetnum('cols') 111 self.LINES = curses.tigetnum('lines') 112 self.XN = curses.tigetflag('xenl') 138 import curses namespace 139 return curses.tparm(to_bytes(arg), index).decode('utf-8') or '' 145 import curses namespace 146 cap = curses.tigetstr(cap_name)
|
/external/syslinux/gpxe/src/include/gpxe/ |
H A D | editbox.h | 12 #include <curses.h>
|