Home
last modified time | relevance | path

Searched refs:curses (Results 1 – 25 of 92) sorted by relevance

1234

/openbsd-src/gnu/llvm/lldb/utils/lui/
H A Dcui.py9 import curses
10 import curses.ascii
17 self.win = curses.newwin(h, w, y, x)
40 self.win.bkgd(curses.color_pair(1))
54 self.win.addstr(0, 0, text, curses.A_REVERSE)
127 attr = curses.A_NORMAL
129 attr = curses.A_REVERSE
135 except curses.error:
155 if event == curses.KEY_UP:
157 if event == curses.KEY_DOWN:
[all …]
H A Dstatuswin.py12 import curses
21 ('F3', 'Cycle-focus', curses.KEY_F3),
22 ('F10', 'Quit', curses.KEY_F10)]
27 self.win.addstr('{0}'.format(key[0]), curses.A_REVERSE)
28 self.win.addstr(' {0} '.format(key[1]), curses.A_NORMAL)
H A Dbreakwin.py10 import curses
31 if event == curses.ascii.NL or event == curses.ascii.SP:
33 elif event == curses.ascii.TAB:
H A Dcommandwin.py10 import curses
113 attr = curses.A_NORMAL
116 attr = curses.color_pair(3) # red on black
123 if event == curses.ascii.EOT and self.el.content == '':
H A Dsourcewin.py10 import curses
89 if key == curses.KEY_DOWN:
91 elif key == curses.KEY_UP:
155 attr = curses.A_NORMAL
157 attr = curses.A_REVERSE
H A Dlui.py11 import curses
116 if event == curses.KEY_F10:
150 curses.wrapper(main)
H A Dsandbox.py11 import curses
75 curses.wrapper(main)
/openbsd-src/gnu/llvm/llvm/utils/lit/lit/
H A DProgressBar.py98 try: import curses
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
139 return curses.tparm(to_bytes(arg), index).decode('utf-8') or ''
145 import curses
146 cap = curses.tigetstr(cap_name)
/openbsd-src/lib/libcurses/tinfo/
H A Dlib_cur_term.c89 _nc_lock_global(curses); in NCURSES_SP_NAME()
118 _nc_unlock_global(curses); in NCURSES_SP_NAME()
196 _nc_lock_global(curses); in del_curterm()
198 _nc_unlock_global(curses); in del_curterm()
H A Duse_screen.c56 _nc_lock_global(curses); in NCURSES_EXPORT()
63 _nc_unlock_global(curses); in NCURSES_EXPORT()
/openbsd-src/lib/libcurses/
H A DMakefile3 LIB= curses
68 curs_util.3 curs_variables.3 curs_window.3 curses.3 \
85 @cmp -s ${DESTDIR}/usr/include/ncurses.h ${.CURDIR}/curses.h || \
87 ${.CURDIR}/curses.h ${DESTDIR}/usr/include/ncurses.h
101 "${AWK}" generated < ${.CURDIR}/curses.h > lib_gen.c
106 make_keys: ${.CURDIR}/tinfo/make_keys.c ${.CURDIR}/curses.priv.h names.c
110 ${.CURDIR}/curses.priv.h \
121 expanded.c: ${.CURDIR}/term.h ${.CURDIR}/curses.priv.h \
/openbsd-src/lib/libcurses/base/
H A Duse_window.c51 _nc_lock_global(curses); in NCURSES_EXPORT()
53 _nc_unlock_global(curses); in NCURSES_EXPORT()
H A Dlib_overlay.c59 _nc_lock_global(curses); in overlap()
96 _nc_unlock_global(curses); in overlap()
158 _nc_lock_global(curses); in copywin()
222 _nc_unlock_global(curses); in copywin()
H A Dlib_newwin.c106 if (_nc_nonsp_try_global(curses) == 0) { in _nc_freewin()
134 _nc_nonsp_unlock_global(curses); in _nc_freewin()
188 _nc_sp_lock_global(curses); in newwin()
191 _nc_sp_unlock_global(curses); in newwin()
299 _nc_nonsp_lock_global(curses); in NCURSES_SP_NAME()
381 _nc_nonsp_unlock_global(curses); in NCURSES_SP_NAME()
H A Dresizeterm.c81 _nc_lock_global(curses); in show_window_sizes()
96 _nc_unlock_global(curses); in show_window_sizes()
366 _nc_nonsp_lock_global(curses); in NCURSES_SP_NAME()
446 _nc_nonsp_unlock_global(curses); in NCURSES_SP_NAME()
456 _nc_sp_lock_global(curses); in resize_term()
458 _nc_sp_unlock_global(curses); in resize_term()
H A Dlib_initscr.c62 _nc_lock_global(curses); in NCURSES_EXPORT()
109 _nc_unlock_global(curses); in NCURSES_EXPORT()
H A Dlib_delwin.c83 if (_nc_try_global(curses) == 0) { in delwin()
101 _nc_unlock_global(curses); in delwin()
H A Dlib_getch.c388 _nc_lock_global(curses); in recur_wrefresh()
390 _nc_unlock_global(curses); in recur_wrefresh()
399 _nc_lock_global(curses); in recur_wrefresh()
404 _nc_unlock_global(curses); in recur_wrefresh()
425 _nc_lock_global(curses); in recur_wgetnstr()
430 _nc_unlock_global(curses); in recur_wgetnstr()
H A Dlib_freeall.c72 _nc_lock_global(curses); in NCURSES_EXPORT()
121 _nc_unlock_global(curses); in NCURSES_EXPORT()
/openbsd-src/games/boggle/
H A DREADME10 You will need curses and a large word list.
22 help.c - (curses) help routine
23 mach.c - (curses) display code
35 I've stuck to a small subset of the curses routines.
/openbsd-src/gnu/llvm/lldb/cmake/modules/
H A DFindCursesAndPanel.cmake5 # Find the curses and panel library as a whole.
11 find_library(PANEL_LIBRARIES NAMES panel DOC "The curses panel library" QUIET)
/openbsd-src/usr.bin/vi/cl/
H A DREADME.signal10 2: The curses routines may not be reentrant.
11 3: Neither DB nor curses will restart system calls.
60 current curses implementations (both System V and Berkeley) don't give
63 the exception that flow control and signals are turned on, and curses
68 mode is better defined and I'm less likely to be surprised by a curses
86 Generally, this is what historic vi did. (It didn't have the curses
87 problems because it didn't use curses.) It entered signals following
130 First, System V's curses doesn't handle SIGTSTP correctly. If you use the
136 computer industry. The 4BSD curses is deficient in that it does not have
141 models #3 or #4, we're going to have to call curses routines at interrupt
[all …]
/openbsd-src/lib/libcurses/widechar/
H A Dlib_get_wch.c64 _nc_lock_global(curses); in NCURSES_EXPORT()
120 _nc_unlock_global(curses); in NCURSES_EXPORT()
/openbsd-src/gnu/lib/libreadline/
H A Dconfigure.in27 AC_ARG_WITH(curses, AC_HELP_STRING([--with-curses], [use the curses library instead of the termcap … optwith
/openbsd-src/gnu/llvm/lldb/include/lldb/Core/
H A DIOHandlerCursesGUI.h37 curses::ApplicationAP m_app_ap;

1234