chunk_id stringlengths 36 36 | source stringclasses 35
values | source_url stringlengths 0 290 | upstream_license stringclasses 1
value | document_id stringlengths 36 36 | chunk_index int64 0 324k | retrieved_at stringclasses 2
values | chunker_version stringclasses 4
values | content_hash stringlengths 15 64 | content stringlengths 50 44.7k | namespace stringclasses 9
values | source_name stringclasses 35
values | raw_text stringlengths 50 44.7k | cleaned_text stringlengths 50 44.7k | tags stringclasses 49
values | collection_name stringclasses 11
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4aaf7a0c-164c-4fa0-ac6b-cb71c02feb15 | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,325 | supabase-export-v2 | 43fc73da604f1f55 | and return a pointer to a new pad data structure with the given number of lines and columns. Return a pad as a window object.
A pad is like a window, except that it is not restricted by the screen size, and
is not necessarily associated with a particular part of the screen. Pads can be
used when a large window is nee... | trusted_official_docs | CPython Docs | and return a pointer to a new pad data structure with the given number of lines and columns. Return a pad as a window object.
A pad is like a window, except that it is not restricted by the screen size, and
is not necessarily associated with a particular part of the screen. Pads can be
used when a large window is nee... | and return a pointer to a new pad data structure with the given number of lines and columns. Return a pad as a window object.
A pad is like a window, except that it is not restricted by the screen size, and
is not necessarily associated with a particular part of the screen. Pads can be
used when a large window is nee... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
4eee64aa-f431-4e73-9937-a9553a2f6c39 | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,525 | supabase-export-v2 | d73aae5d450fa4d4 | where it is on update, instead of being at "cursor position." This reduces cursor movement where possible. If possible the cursor will be made invisible.
If *flag* is ``False``, cursor will always be at "cursor position" after an update. | trusted_official_docs | CPython Docs | where it is on update, instead of being at "cursor position." This reduces cursor movement where possible. If possible the cursor will be made invisible.
If *flag* is ``False``, cursor will always be at "cursor position" after an update. | where it is on update, instead of being at "cursor position." This reduces cursor movement where possible. If possible the cursor will be made invisible.
If *flag* is ``False``, cursor will always be at "cursor position" after an update. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
5061b4ac-d89f-4ee5-b465-5840152c4cb5 | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,648 | supabase-export-v2 | c978c2ee7dd3737d | +----------------------------------+---------------------------------------------+ | .. data:: BUTTONn_RELEASED | Mouse button *n* released | +----------------------------------+---------------------------------------------+ | .. data:: BUTTONn_CLICKED | Mouse button *n* clicked | +----------------------------------+--... | trusted_official_docs | CPython Docs | +----------------------------------+---------------------------------------------+ | .. data:: BUTTONn_RELEASED | Mouse button *n* released | +----------------------------------+---------------------------------------------+ | .. data:: BUTTONn_CLICKED | Mouse button *n* clicked | +----------------------------------+--... | +----------------------------------+---------------------------------------------+ | .. data:: BUTTONn_RELEASED | Mouse button *n* released | +----------------------------------+---------------------------------------------+ | .. data:: BUTTONn_CLICKED | Mouse button *n* clicked | +----------------------------------+--... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
5069d1cb-b58f-47b2-aa34-8fa1dc3f470b | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,612 | supabase-export-v2 | 2bc0673e83159d19 | Several constants are available to extract corresponding attributes returned by some methods.
+-------------------------+-------------------------------+
| Bit-mask | Meaning |
+=========================+===============================+
| .. data:: A_ATTRIBUTES | Bit-mask to extract |
| | attributes |
+----------------... | trusted_official_docs | CPython Docs | Several constants are available to extract corresponding attributes returned by some methods.
+-------------------------+-------------------------------+
| Bit-mask | Meaning |
+=========================+===============================+
| .. data:: A_ATTRIBUTES | Bit-mask to extract |
| | attributes |
+----------------... | Several constants are available to extract corresponding attributes returned by some methods.
+-------------------------+-------------------------------+
| Bit-mask | Meaning |
+=========================+===============================+
| .. data:: A_ATTRIBUTES | Bit-mask to extract |
| | attributes |
+----------------... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
531c76ac-263f-4a41-8b42-f1050609f396 | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,298 | supabase-export-v2 | 01b8f4f335800072 | .. function:: init_color(color_number, r, g, b)
Change the definition of a color, taking the number of the color to be changed
followed by three RGB values (for the amounts of red, green, and blue
components). The value of *color_number* must be between ``0`` and
``COLORS - 1``. Each of *r*, *g*, *b*, must be a valu... | trusted_official_docs | CPython Docs | .. function:: init_color(color_number, r, g, b)
Change the definition of a color, taking the number of the color to be changed
followed by three RGB values (for the amounts of red, green, and blue
components). The value of *color_number* must be between ``0`` and
``COLORS - 1``. Each of *r*, *g*, *b*, must be a valu... | .. function:: init_color(color_number, r, g, b)
Change the definition of a color, taking the number of the color to be changed
followed by three RGB values (for the amounts of red, green, and blue
components). The value of *color_number* must be between ``0`` and
``COLORS - 1``. Each of *r*, *g*, *b*, must be a valu... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
574db9ff-779b-40b1-b853-9b521d564478 | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,312 | supabase-export-v2 | d86a3cb11bf8ecad | .. function:: killchar()
Return the user's current line kill character as a one-byte bytes object. Under Unix operating systems
this is a property of the controlling tty of the curses program, and is not set
by the curses library itself. | trusted_official_docs | CPython Docs | .. function:: killchar()
Return the user's current line kill character as a one-byte bytes object. Under Unix operating systems
this is a property of the controlling tty of the curses program, and is not set
by the curses library itself. | .. function:: killchar()
Return the user's current line kill character as a one-byte bytes object. Under Unix operating systems
this is a property of the controlling tty of the curses program, and is not set
by the curses library itself. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
5a531558-549d-4ef1-989e-c948cfde47db | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,555 | supabase-export-v2 | ae4e4851cba1c786 | .. method:: window.resize(nlines, ncols)
Reallocate storage for a curses window to adjust its dimensions to the
specified values. If either dimension is larger than the current values, the
window's data is filled with blanks that have the current background
rendition (as set by :meth:`bkgdset`) merged into them. | trusted_official_docs | CPython Docs | .. method:: window.resize(nlines, ncols)
Reallocate storage for a curses window to adjust its dimensions to the
specified values. If either dimension is larger than the current values, the
window's data is filled with blanks that have the current background
rendition (as set by :meth:`bkgdset`) merged into them. | .. method:: window.resize(nlines, ncols)
Reallocate storage for a curses window to adjust its dimensions to the
specified values. If either dimension is larger than the current values, the
window's data is filled with blanks that have the current background
rendition (as set by :meth:`bkgdset`) merged into them. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
5c49ce5b-d323-4582-b340-30dafe9aa656 | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,516 | supabase-export-v2 | 1225537ca3cd5064 | If *n* is specified, :meth:`instr` returns a string at most *n* characters long (exclusive of the trailing NUL). The maximum value for *n* is 2047.
.. versionchanged:: 3.14
The maximum value for *n* was increased from 1023 to 2047. | trusted_official_docs | CPython Docs | If *n* is specified, :meth:`instr` returns a string at most *n* characters long (exclusive of the trailing NUL). The maximum value for *n* is 2047.
.. versionchanged:: 3.14
The maximum value for *n* was increased from 1023 to 2047. | If *n* is specified, :meth:`instr` returns a string at most *n* characters long (exclusive of the trailing NUL). The maximum value for *n* is 2047.
.. versionchanged:: 3.14
The maximum value for *n* was increased from 1023 to 2047. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
62be0c98-bac4-4a0c-b6de-722e693494f3 | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,553 | supabase-export-v2 | 52024945e37ae060 | Update the display immediately (sync actual screen with previous drawing/deleting methods).
The 6 optional arguments can only be specified when the window is a pad created
with :func:`newpad`. The additional parameters are needed to indicate what part
of the pad and screen are involved. *pminrow* and *pmincol* specif... | trusted_official_docs | CPython Docs | Update the display immediately (sync actual screen with previous drawing/deleting methods).
The 6 optional arguments can only be specified when the window is a pad created
with :func:`newpad`. The additional parameters are needed to indicate what part
of the pad and screen are involved. *pminrow* and *pmincol* specif... | Update the display immediately (sync actual screen with previous drawing/deleting methods).
The 6 optional arguments can only be specified when the window is a pad created
with :func:`newpad`. The additional parameters are needed to indicate what part
of the pad and screen are involved. *pminrow* and *pmincol* specif... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
645ba09c-1c3d-45f5-a517-5b522a6860bd | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,448 | supabase-export-v2 | cefb20ce1c293bb7 | .. method:: window.box([vertch, horch])
Similar to :meth:`border`, but both *ls* and *rs* are *vertch* and both *ts* and
*bs* are *horch*. The default corner characters are always used by this function. | trusted_official_docs | CPython Docs | .. method:: window.box([vertch, horch])
Similar to :meth:`border`, but both *ls* and *rs* are *vertch* and both *ts* and
*bs* are *horch*. The default corner characters are always used by this function. | .. method:: window.box([vertch, horch])
Similar to :meth:`border`, but both *ls* and *rs* are *vertch* and both *ts* and
*bs* are *horch*. The default corner characters are always used by this function. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
68da7834-fc63-425e-a9db-d94236625bc8 | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,385 | supabase-export-v2 | 02b1f14942f30d79 | .. function:: tigetflag(capname)
Return the value of the Boolean capability corresponding to the terminfo
capability name *capname* as an integer. Return the value ``-1`` if *capname* is not a
Boolean capability, or ``0`` if it is canceled or absent from the terminal
description. | trusted_official_docs | CPython Docs | .. function:: tigetflag(capname)
Return the value of the Boolean capability corresponding to the terminfo
capability name *capname* as an integer. Return the value ``-1`` if *capname* is not a
Boolean capability, or ``0`` if it is canceled or absent from the terminal
description. | .. function:: tigetflag(capname)
Return the value of the Boolean capability corresponding to the terminfo
capability name *capname* as an integer. Return the value ``-1`` if *capname* is not a
Boolean capability, or ``0`` if it is canceled or absent from the terminal
description. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
69fbb1eb-24dd-4cd6-aeb8-4d4f25928e1f | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,543 | supabase-export-v2 | 97d40fda92ad6839 | .. method:: window.overwrite(destwin[, sminrow, smincol, dminrow, dmincol, dmaxrow, dmaxcol])
Overwrite the window on top of *destwin*. The windows need not be the same size,
in which case only the overlapping region is copied. This copy is destructive,
which means that the current background character overwrites the... | trusted_official_docs | CPython Docs | .. method:: window.overwrite(destwin[, sminrow, smincol, dminrow, dmincol, dmaxrow, dmaxcol])
Overwrite the window on top of *destwin*. The windows need not be the same size,
in which case only the overlapping region is copied. This copy is destructive,
which means that the current background character overwrites the... | .. method:: window.overwrite(destwin[, sminrow, smincol, dminrow, dmincol, dmaxrow, dmaxcol])
Overwrite the window on top of *destwin*. The windows need not be the same size,
in which case only the overlapping region is copied. This copy is destructive,
which means that the current background character overwrites the... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
6c118e27-b4a6-4440-94b4-b6532d06e416 | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,538 | supabase-export-v2 | 998ea3c1fc4108c8 | .. method:: window.noutrefresh()
Mark for refresh but wait. This function updates the data structure
representing the desired state of the window, but does not force an update of
the physical screen. To accomplish that, call :func:`doupdate`. | trusted_official_docs | CPython Docs | .. method:: window.noutrefresh()
Mark for refresh but wait. This function updates the data structure
representing the desired state of the window, but does not force an update of
the physical screen. To accomplish that, call :func:`doupdate`. | .. method:: window.noutrefresh()
Mark for refresh but wait. This function updates the data structure
representing the desired state of the window, but does not force an update of
the physical screen. To accomplish that, call :func:`doupdate`. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
6ccaa5a8-145e-460d-8912-42295c81374d | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,450 | supabase-export-v2 | fb168b90e803a0db | .. method:: window.chgat(attr) window.chgat(num, attr) window.chgat(y, x, attr) window.chgat(y, x, num, attr)
Set the attributes of *num* characters at the current cursor position, or at
position ``(y, x)`` if supplied. If *num* is not given or is ``-1``,
the attribute will be set on all the characters to the end of ... | trusted_official_docs | CPython Docs | .. method:: window.chgat(attr) window.chgat(num, attr) window.chgat(y, x, attr) window.chgat(y, x, num, attr)
Set the attributes of *num* characters at the current cursor position, or at
position ``(y, x)`` if supplied. If *num* is not given or is ``-1``,
the attribute will be set on all the characters to the end of ... | .. method:: window.chgat(attr) window.chgat(num, attr) window.chgat(y, x, attr) window.chgat(y, x, num, attr)
Set the attributes of *num* characters at the current cursor position, or at
position ``(y, x)`` if supplied. If *num* is not given or is ``-1``,
the attribute will be set on all the characters to the end of ... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
6fc08928-b6f2-4300-a449-d17711842a63 | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,288 | supabase-export-v2 | e2558fdb0fd3bba4 | supports extended colors; otherwise, return ``False``. Extended color support allows more than 256 color pairs for terminals that support more than 16 colors (e.g. xterm-256color).
Extended color support requires ncurses version 6.1 or later. | trusted_official_docs | CPython Docs | supports extended colors; otherwise, return ``False``. Extended color support allows more than 256 color pairs for terminals that support more than 16 colors (e.g. xterm-256color).
Extended color support requires ncurses version 6.1 or later. | supports extended colors; otherwise, return ``False``. Extended color support allows more than 256 color pairs for terminals that support more than 16 colors (e.g. xterm-256color).
Extended color support requires ncurses version 6.1 or later. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
718d5fa7-a86e-450e-bd44-54ae13c89954 | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,473 | supabase-export-v2 | 342753710a93cf7a | .. attribute:: window.encoding
Encoding used to encode method arguments (Unicode strings and characters). The encoding attribute is inherited from the parent window when a subwindow
is created, for example with :meth:`window.subwin`. By default, current locale encoding is used (see :func:`locale.getencoding`). | trusted_official_docs | CPython Docs | .. attribute:: window.encoding
Encoding used to encode method arguments (Unicode strings and characters). The encoding attribute is inherited from the parent window when a subwindow
is created, for example with :meth:`window.subwin`. By default, current locale encoding is used (see :func:`locale.getencoding`). | .. attribute:: window.encoding
Encoding used to encode method arguments (Unicode strings and characters). The encoding attribute is inherited from the parent window when a subwindow
is created, for example with :meth:`window.subwin`. By default, current locale encoding is used (see :func:`locale.getencoding`). | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
723f1ca4-4f0f-4fd0-a404-7a124934097a | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,497 | supabase-export-v2 | 7a2a2b84c08270e5 | .. method:: window.idcok(flag)
If *flag* is ``False``, curses no longer considers using the hardware insert/delete
character feature of the terminal; if *flag* is ``True``, use of character insertion
and deletion is enabled. When curses is first initialized, use of character
insert/delete is enabled by default. | trusted_official_docs | CPython Docs | .. method:: window.idcok(flag)
If *flag* is ``False``, curses no longer considers using the hardware insert/delete
character feature of the terminal; if *flag* is ``True``, use of character insertion
and deletion is enabled. When curses is first initialized, use of character
insert/delete is enabled by default. | .. method:: window.idcok(flag)
If *flag* is ``False``, curses no longer considers using the hardware insert/delete
character feature of the terminal; if *flag* is ``True``, use of character insertion
and deletion is enabled. When curses is first initialized, use of character
insert/delete is enabled by default. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
76a78b90-94bd-4da4-b3d8-c656c127e55d | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,580 | supabase-export-v2 | eda5178fbab35782 | .. method:: window.touchline(start, count[, changed])
Pretend *count* lines have been changed, starting with line *start*. If
*changed* is supplied, it specifies whether the affected lines are marked as
having been changed (*changed*\ ``=True``) or unchanged (*changed*\ ``=False``). | trusted_official_docs | CPython Docs | .. method:: window.touchline(start, count[, changed])
Pretend *count* lines have been changed, starting with line *start*. If
*changed* is supplied, it specifies whether the affected lines are marked as
having been changed (*changed*\ ``=True``) or unchanged (*changed*\ ``=False``). | .. method:: window.touchline(start, count[, changed])
Pretend *count* lines have been changed, starting with line *start*. If
*changed* is supplied, it specifies whether the affected lines are marked as
having been changed (*changed*\ ``=True``) or unchanged (*changed*\ ``=False``). | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
76f82687-ef53-4f01-88cd-4afe70c9a711 | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,544 | supabase-export-v2 | b64d8abe2da0222a | which case only the overlapping region is copied. This copy is destructive, which means that the current background character overwrites the old contents of *destwin*.
To get fine-grained control over the copied region, the second form of
:meth:`overwrite` can be used. *sminrow* and *smincol* are the upper-left
coord... | trusted_official_docs | CPython Docs | which case only the overlapping region is copied. This copy is destructive, which means that the current background character overwrites the old contents of *destwin*.
To get fine-grained control over the copied region, the second form of
:meth:`overwrite` can be used. *sminrow* and *smincol* are the upper-left
coord... | which case only the overlapping region is copied. This copy is destructive, which means that the current background character overwrites the old contents of *destwin*.
To get fine-grained control over the copied region, the second form of
:meth:`overwrite` can be used. *sminrow* and *smincol* are the upper-left
coord... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
781e3af2-3650-40d9-a258-bfbbf955e402 | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,424 | supabase-export-v2 | 6ae8bea8efdb3ba1 | .. method:: window.addnstr(str, n[, attr]) window.addnstr(y, x, str, n[, attr])
Paint at most *n* characters of the character string *str* at
``(y, x)`` with attributes
*attr*, overwriting anything previously on the display. | trusted_official_docs | CPython Docs | .. method:: window.addnstr(str, n[, attr]) window.addnstr(y, x, str, n[, attr])
Paint at most *n* characters of the character string *str* at
``(y, x)`` with attributes
*attr*, overwriting anything previously on the display. | .. method:: window.addnstr(str, n[, attr]) window.addnstr(y, x, str, n[, attr])
Paint at most *n* characters of the character string *str* at
``(y, x)`` with attributes
*attr*, overwriting anything previously on the display. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
7934166c-c577-4336-a619-6d6dfac98e94 | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,514 | supabase-export-v2 | afd2e737e27147e5 | are shifted right, with the rightmost characters on the line being lost. The cursor position does not change (after moving to *y*, *x*, if specified).
.. method:: window.instr([n])
window.instr(y, x[, n]) | trusted_official_docs | CPython Docs | are shifted right, with the rightmost characters on the line being lost. The cursor position does not change (after moving to *y*, *x*, if specified).
.. method:: window.instr([n])
window.instr(y, x[, n]) | are shifted right, with the rightmost characters on the line being lost. The cursor position does not change (after moving to *y*, *x*, if specified).
.. method:: window.instr([n])
window.instr(y, x[, n]) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
7b1db4c1-4012-45c7-9bce-5effb177c1de | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,511 | supabase-export-v2 | 12dcc82af773994f | .. method:: window.insnstr(str, n[, attr]) window.insnstr(y, x, str, n[, attr])
Insert a character string (as many characters as will fit on the line) before
the character under the cursor, up to *n* characters. If *n* is zero or
negative, the entire string is inserted. All characters to the right of the
cursor are ... | trusted_official_docs | CPython Docs | .. method:: window.insnstr(str, n[, attr]) window.insnstr(y, x, str, n[, attr])
Insert a character string (as many characters as will fit on the line) before
the character under the cursor, up to *n* characters. If *n* is zero or
negative, the entire string is inserted. All characters to the right of the
cursor are ... | .. method:: window.insnstr(str, n[, attr]) window.insnstr(y, x, str, n[, attr])
Insert a character string (as many characters as will fit on the line) before
the character under the cursor, up to *n* characters. If *n* is zero or
negative, the entire string is inserted. All characters to the right of the
cursor are ... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
7c479d20-c8fe-4889-a125-94e6ac10292e | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,439 | supabase-export-v2 | 980e58cbacdfc66f | * The attribute of every character in the window is changed to the new background attribute.
* Wherever the former background character appears, it is changed to the new
background character. | trusted_official_docs | CPython Docs | * The attribute of every character in the window is changed to the new background attribute.
* Wherever the former background character appears, it is changed to the new
background character. | * The attribute of every character in the window is changed to the new background attribute.
* Wherever the former background character appears, it is changed to the new
background character. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
7db38774-e0a4-4701-b5f5-d5105709b705 | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,484 | supabase-export-v2 | e7a611e918b8c506 | .. method:: window.getkey([y, x])
Get a character, returning a string instead of an integer, as :meth:`getch`
does. Function keys, keypad keys and other special keys return a multibyte
string containing the key name. In no-delay mode, raise an exception if
there is no input. | trusted_official_docs | CPython Docs | .. method:: window.getkey([y, x])
Get a character, returning a string instead of an integer, as :meth:`getch`
does. Function keys, keypad keys and other special keys return a multibyte
string containing the key name. In no-delay mode, raise an exception if
there is no input. | .. method:: window.getkey([y, x])
Get a character, returning a string instead of an integer, as :meth:`getch`
does. Function keys, keypad keys and other special keys return a multibyte
string containing the key name. In no-delay mode, raise an exception if
there is no input. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
7de0a622-586a-485c-8fb2-12434cbc90b8 | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,616 | supabase-export-v2 | d0decb35ffa331b0 | KEY_BREAK | Break key (unreliable) | +-------------------------+--------------------------------------------+ | .. data:: KEY_DOWN | Down-arrow | +-------------------------+--------------------------------------------+ | .. data:: KEY_UP | Up-arrow | +-------------------------+------------------------------------------... | trusted_official_docs | CPython Docs | KEY_BREAK | Break key (unreliable) | +-------------------------+--------------------------------------------+ | .. data:: KEY_DOWN | Down-arrow | +-------------------------+--------------------------------------------+ | .. data:: KEY_UP | Up-arrow | +-------------------------+------------------------------------------... | KEY_BREAK | Break key (unreliable) | +-------------------------+--------------------------------------------+ | .. data:: KEY_DOWN | Down-arrow | +-------------------------+--------------------------------------------+ | .. data:: KEY_UP | Up-arrow | +-------------------------+------------------------------------------... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
7e8d8c58-99ff-483b-85ac-11c35f316094 | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,274 | supabase-export-v2 | ffd7166cd0acf935 | .. function:: flash()
Flash the screen. That is, change it to reverse-video and then change it back
in a short interval. Some people prefer such as 'visible bell' to the audible
attention signal produced by :func:`beep`. | trusted_official_docs | CPython Docs | .. function:: flash()
Flash the screen. That is, change it to reverse-video and then change it back
in a short interval. Some people prefer such as 'visible bell' to the audible
attention signal produced by :func:`beep`. | .. function:: flash()
Flash the screen. That is, change it to reverse-video and then change it back
in a short interval. Some people prefer such as 'visible bell' to the audible
attention signal produced by :func:`beep`. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
80843446-43e0-41e0-817d-dae74a3a0a4e | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,678 | supabase-export-v2 | e6f4ebe861ad664e | .. attribute:: stripspaces
This attribute is a flag which controls the interpretation of blanks in
the window. When it is on, trailing blanks on each line are ignored; any
cursor motion that would land the cursor on a trailing blank goes to the
end of that line instead, and trailing blanks are stripped when the wind... | trusted_official_docs | CPython Docs | .. attribute:: stripspaces
This attribute is a flag which controls the interpretation of blanks in
the window. When it is on, trailing blanks on each line are ignored; any
cursor motion that would land the cursor on a trailing blank goes to the
end of that line instead, and trailing blanks are stripped when the wind... | .. attribute:: stripspaces
This attribute is a flag which controls the interpretation of blanks in
the window. When it is on, trailing blanks on each line are ignored; any
cursor motion that would land the cursor on a trailing blank goes to the
end of that line instead, and trailing blanks are stripped when the wind... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
80b1d870-8523-4dc5-90be-c25d8adcdb2f | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,633 | supabase-export-v2 | a9efca6124dbb527 | safe to expect arrow keys and twelve function keys (older PC keyboards may have only ten function keys); also, the following keypad mappings are standard:
+------------------+-----------+
| Keycap | Constant |
+==================+===========+
| :kbd:`Insert` | KEY_IC |
+------------------+-----------+
| :kbd:`Delete` |... | trusted_official_docs | CPython Docs | safe to expect arrow keys and twelve function keys (older PC keyboards may have only ten function keys); also, the following keypad mappings are standard:
+------------------+-----------+
| Keycap | Constant |
+==================+===========+
| :kbd:`Insert` | KEY_IC |
+------------------+-----------+
| :kbd:`Delete` |... | safe to expect arrow keys and twelve function keys (older PC keyboards may have only ten function keys); also, the following keypad mappings are standard:
+------------------+-----------+
| Keycap | Constant |
+==================+===========+
| :kbd:`Insert` | KEY_IC |
+------------------+-----------+
| :kbd:`Delete` |... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
81ab2f94-b99a-4905-a037-7e09479f850b | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,619 | supabase-export-v2 | 81a0074b65688ca1 | | +-------------------------+--------------------------------------------+ | .. data:: KEY_SR | Scroll 1 line backward (reverse) | +-------------------------+--------------------------------------------+ | .. data:: KEY_NPAGE | Next page | +-------------------------+--------------------------------------------+ | ..
da... | trusted_official_docs | CPython Docs | | +-------------------------+--------------------------------------------+ | .. data:: KEY_SR | Scroll 1 line backward (reverse) | +-------------------------+--------------------------------------------+ | .. data:: KEY_NPAGE | Next page | +-------------------------+--------------------------------------------+ | ..
da... | | +-------------------------+--------------------------------------------+ | .. data:: KEY_SR | Scroll 1 line backward (reverse) | +-------------------------+--------------------------------------------+ | .. data:: KEY_NPAGE | Next page | +-------------------------+--------------------------------------------+ | ..
da... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
81d3ca80-7580-4d9f-8fa4-196419a1562b | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,287 | supabase-export-v2 | 8e7dc283c69f66c5 | .. function:: has_extended_color_support()
Return ``True`` if the module supports extended colors; otherwise, return
``False``. Extended color support allows more than 256 color pairs for
terminals that support more than 16 colors (e.g. xterm-256color). | trusted_official_docs | CPython Docs | .. function:: has_extended_color_support()
Return ``True`` if the module supports extended colors; otherwise, return
``False``. Extended color support allows more than 256 color pairs for
terminals that support more than 16 colors (e.g. xterm-256color). | .. function:: has_extended_color_support()
Return ``True`` if the module supports extended colors; otherwise, return
``False``. Extended color support allows more than 256 color pairs for
terminals that support more than 16 colors (e.g. xterm-256color). | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
822bade7-1b52-496b-a4a7-c90725637456 | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,425 | supabase-export-v2 | dc4d4c4bb0d561aa | Paint at most *n* characters of the character string *str* at ``(y, x)`` with attributes *attr*, overwriting anything previously on the display.
.. method:: window.addstr(str[, attr])
window.addstr(y, x, str[, attr]) | trusted_official_docs | CPython Docs | Paint at most *n* characters of the character string *str* at ``(y, x)`` with attributes *attr*, overwriting anything previously on the display.
.. method:: window.addstr(str[, attr])
window.addstr(y, x, str[, attr]) | Paint at most *n* characters of the character string *str* at ``(y, x)`` with attributes *attr*, overwriting anything previously on the display.
.. method:: window.addstr(str[, attr])
window.addstr(y, x, str[, attr]) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
82a19f08-79bd-4e6b-b5ad-12bab3e7eb04 | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,348 | supabase-export-v2 | 88fa19e322769bca | .. function:: qiflush([flag])
If *flag* is ``False``, the effect is the same as calling :func:`noqiflush`. If
*flag* is ``True``, or no argument is provided, the queues will be flushed when
these control characters are read. | trusted_official_docs | CPython Docs | .. function:: qiflush([flag])
If *flag* is ``False``, the effect is the same as calling :func:`noqiflush`. If
*flag* is ``True``, or no argument is provided, the queues will be flushed when
these control characters are read. | .. function:: qiflush([flag])
If *flag* is ``False``, the effect is the same as calling :func:`noqiflush`. If
*flag* is ``True``, or no argument is provided, the queues will be flushed when
these control characters are read. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
83720d56-704c-4f90-88cd-70b12c107efb | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,318 | supabase-export-v2 | 9923942c87c3fca1 | .. function:: mouseinterval(interval)
Set the maximum time in milliseconds that can elapse between press and release
events in order for them to be recognized as a click, and return the previous
interval value. The default value is 200 milliseconds, or one fifth of a second. | trusted_official_docs | CPython Docs | .. function:: mouseinterval(interval)
Set the maximum time in milliseconds that can elapse between press and release
events in order for them to be recognized as a click, and return the previous
interval value. The default value is 200 milliseconds, or one fifth of a second. | .. function:: mouseinterval(interval)
Set the maximum time in milliseconds that can elapse between press and release
events in order for them to be recognized as a click, and return the previous
interval value. The default value is 200 milliseconds, or one fifth of a second. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
858ea1b6-4ac4-411b-9eac-dcb6fd03f8f6 | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,296 | supabase-export-v2 | 5ec4a3fd4af1c94f | .. function:: halfdelay(tenths)
Used for half-delay mode, which is similar to cbreak mode in that characters
typed by the user are immediately available to the program. However, after
blocking for *tenths* tenths of seconds, raise an exception if nothing has
been typed. The value of *tenths* must be a number between... | trusted_official_docs | CPython Docs | .. function:: halfdelay(tenths)
Used for half-delay mode, which is similar to cbreak mode in that characters
typed by the user are immediately available to the program. However, after
blocking for *tenths* tenths of seconds, raise an exception if nothing has
been typed. The value of *tenths* must be a number between... | .. function:: halfdelay(tenths)
Used for half-delay mode, which is similar to cbreak mode in that characters
typed by the user are immediately available to the program. However, after
blocking for *tenths* tenths of seconds, raise an exception if nothing has
been typed. The value of *tenths* must be a number between... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
860a80e5-15f2-4af6-85dc-b73e80678905 | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,669 | supabase-export-v2 | 027ce9e5981dc4c2 | Process a single command keystroke. Here are the supported special keystrokes:
+------------------+-------------------------------------------+
| Keystroke | Action |
+==================+===========================================+
| :kbd:`Control-A` | Go to left edge of window. |
+------------------+--------------... | trusted_official_docs | CPython Docs | Process a single command keystroke. Here are the supported special keystrokes:
+------------------+-------------------------------------------+
| Keystroke | Action |
+==================+===========================================+
| :kbd:`Control-A` | Go to left edge of window. |
+------------------+--------------... | Process a single command keystroke. Here are the supported special keystrokes:
+------------------+-------------------------------------------+
| Keystroke | Action |
+==================+===========================================+
| :kbd:`Control-A` | Go to left edge of window. |
+------------------+--------------... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
8629e8d7-7aec-4c6e-8d91-e2d7e96f8e65 | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,422 | supabase-export-v2 | 985e042da1232dd8 | .. note::
Writing outside the window, subwindow, or pad raises a :exc:`curses.error`. Attempting to write to the lower right corner of a window, subwindow,
or pad will cause an exception to be raised after the character is printed. | trusted_official_docs | CPython Docs | .. note::
Writing outside the window, subwindow, or pad raises a :exc:`curses.error`. Attempting to write to the lower right corner of a window, subwindow,
or pad will cause an exception to be raised after the character is printed. | .. note::
Writing outside the window, subwindow, or pad raises a :exc:`curses.error`. Attempting to write to the lower right corner of a window, subwindow,
or pad will cause an exception to be raised after the character is printed. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
865cfc45-e7e9-47cb-9218-0b2b0c822687 | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,278 | supabase-export-v2 | 16f32019c19f1b2c | .. function:: getmouse()
After :meth:`~window.getch` returns :const:`KEY_MOUSE` to signal a mouse event, this
method should be called to retrieve the queued mouse event, represented as a
5-tuple ``(id, x, y, z, bstate)``. *id* is an ID value used to distinguish
multiple devices, and *x*, *y*, *z* are the event's coo... | trusted_official_docs | CPython Docs | .. function:: getmouse()
After :meth:`~window.getch` returns :const:`KEY_MOUSE` to signal a mouse event, this
method should be called to retrieve the queued mouse event, represented as a
5-tuple ``(id, x, y, z, bstate)``. *id* is an ID value used to distinguish
multiple devices, and *x*, *y*, *z* are the event's coo... | .. function:: getmouse()
After :meth:`~window.getch` returns :const:`KEY_MOUSE` to signal a mouse event, this
method should be called to retrieve the queued mouse event, represented as a
5-tuple ``(id, x, y, z, bstate)``. *id* is an ID value used to distinguish
multiple devices, and *x*, *y*, *z* are the event's coo... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
868676bd-13aa-4a06-b193-aba0b28aad10 | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,428 | supabase-export-v2 | 1cccc091ab33b400 | .. note::
* Writing outside the window, subwindow, or pad raises :exc:`curses.error`. Attempting to write to the lower right corner of a window, subwindow,
or pad will cause an exception to be raised after the string is printed. | trusted_official_docs | CPython Docs | .. note::
* Writing outside the window, subwindow, or pad raises :exc:`curses.error`. Attempting to write to the lower right corner of a window, subwindow,
or pad will cause an exception to be raised after the string is printed. | .. note::
* Writing outside the window, subwindow, or pad raises :exc:`curses.error`. Attempting to write to the lower right corner of a window, subwindow,
or pad will cause an exception to be raised after the string is printed. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
89647305-19d6-4311-bc95-a04746b1255b | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,290 | supabase-export-v2 | ab6b5f4c5c7205db | .. function:: has_ic()
Return ``True`` if the terminal has insert- and delete-character capabilities. This function is included for historical reasons only, as all modern software
terminal emulators have such capabilities. | trusted_official_docs | CPython Docs | .. function:: has_ic()
Return ``True`` if the terminal has insert- and delete-character capabilities. This function is included for historical reasons only, as all modern software
terminal emulators have such capabilities. | .. function:: has_ic()
Return ``True`` if the terminal has insert- and delete-character capabilities. This function is included for historical reasons only, as all modern software
terminal emulators have such capabilities. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
8bc5eeb6-65b7-48fc-9b72-ed118e4c6776 | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,597 | supabase-export-v2 | 6e4dc8d77483d97b | *major*, *minor*, and *patch*. All values are integers. The components can also be accessed by name, so ``curses.ncurses_version[0]`` is equivalent to ``curses.ncurses_version.major`` and so on.
Availability: if the ncurses library is used. | trusted_official_docs | CPython Docs | *major*, *minor*, and *patch*. All values are integers. The components can also be accessed by name, so ``curses.ncurses_version[0]`` is equivalent to ``curses.ncurses_version.major`` and so on.
Availability: if the ncurses library is used. | *major*, *minor*, and *patch*. All values are integers. The components can also be accessed by name, so ``curses.ncurses_version[0]`` is equivalent to ``curses.ncurses_version.major`` and so on.
Availability: if the ncurses library is used. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
8d36a5f4-bfd3-4017-b198-3d5d2a3be021 | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,671 | supabase-export-v2 | cb44a90eebd67719 | | | otherwise insert newline. | +------------------+-------------------------------------------+ | :kbd:`Control-K` | If line is blank, delete it, otherwise | | | clear to end of line.
|
+------------------+-------------------------------------------+
| :kbd:`Control-L` | Refresh screen. |
+------------------+------... | trusted_official_docs | CPython Docs | | | otherwise insert newline. | +------------------+-------------------------------------------+ | :kbd:`Control-K` | If line is blank, delete it, otherwise | | | clear to end of line.
|
+------------------+-------------------------------------------+
| :kbd:`Control-L` | Refresh screen. |
+------------------+------... | | | otherwise insert newline. | +------------------+-------------------------------------------+ | :kbd:`Control-K` | If line is blank, delete it, otherwise | | | clear to end of line.
|
+------------------+-------------------------------------------+
| :kbd:`Control-L` | Refresh screen. |
+------------------+------... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
8d646c27-5fe7-49f8-bbcb-4960c8ba9c42 | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,300 | supabase-export-v2 | 56609e236f80df69 | .. function:: init_pair(pair_number, fg, bg)
Change the definition of a color-pair. It takes three arguments: the number of
the color-pair to be changed, the foreground color number, and the background
color number. The value of *pair_number* must be between ``1`` and
``COLOR_PAIRS - 1`` (the ``0`` color pair can on... | trusted_official_docs | CPython Docs | .. function:: init_pair(pair_number, fg, bg)
Change the definition of a color-pair. It takes three arguments: the number of
the color-pair to be changed, the foreground color number, and the background
color number. The value of *pair_number* must be between ``1`` and
``COLOR_PAIRS - 1`` (the ``0`` color pair can on... | .. function:: init_pair(pair_number, fg, bg)
Change the definition of a color-pair. It takes three arguments: the number of
the color-pair to be changed, the foreground color number, and the background
color number. The value of *pair_number* must be between ``1`` and
``COLOR_PAIRS - 1`` (the ``0`` color pair can on... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
8fb9c8ad-1626-4c2e-b4ec-62744172314b | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,643 | supabase-export-v2 | 9c02e96f9659061e | tee | +------------------------+------------------------------------------+ | .. data:: ACS_S1 | scan line 1 | +------------------------+------------------------------------------+ | .. data:: ACS_S3 | scan line 3 | +------------------------+------------------------------------------+ | ..
data:: ACS_S7 | scan line 7 |... | trusted_official_docs | CPython Docs | tee | +------------------------+------------------------------------------+ | .. data:: ACS_S1 | scan line 1 | +------------------------+------------------------------------------+ | .. data:: ACS_S3 | scan line 3 | +------------------------+------------------------------------------+ | ..
data:: ACS_S7 | scan line 7 |... | tee | +------------------------+------------------------------------------+ | .. data:: ACS_S1 | scan line 1 | +------------------------+------------------------------------------+ | .. data:: ACS_S3 | scan line 3 | +------------------------+------------------------------------------+ | ..
data:: ACS_S7 | scan line 7 |... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
90dab9bc-55d0-4309-8852-194db19f63ee | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,225 | supabase-export-v2 | 50dcfc19469c80b3 | Whenever the documentation mentions a *character* it can be specified as an integer, a one-character Unicode string or a one-byte byte string.
Whenever the documentation mentions a *character string* it can be specified
as a Unicode string or a byte string. | trusted_official_docs | CPython Docs | Whenever the documentation mentions a *character* it can be specified as an integer, a one-character Unicode string or a one-byte byte string.
Whenever the documentation mentions a *character string* it can be specified
as a Unicode string or a byte string. | Whenever the documentation mentions a *character* it can be specified as an integer, a one-character Unicode string or a one-byte byte string.
Whenever the documentation mentions a *character string* it can be specified
as a Unicode string or a byte string. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
9119bbf5-7a31-4b0f-bc7a-426d5a5be94b | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,394 | supabase-export-v2 | 1885c9d4ac1bd06f | Specify that the file descriptor *fd* be used for typeahead checking. If *fd* is ``-1``, then no typeahead checking is done.
The curses library does "line-breakout optimization" by looking for typeahead
periodically while updating the screen. If input is found, and it is coming
from a tty, the current update is postp... | trusted_official_docs | CPython Docs | Specify that the file descriptor *fd* be used for typeahead checking. If *fd* is ``-1``, then no typeahead checking is done.
The curses library does "line-breakout optimization" by looking for typeahead
periodically while updating the screen. If input is found, and it is coming
from a tty, the current update is postp... | Specify that the file descriptor *fd* be used for typeahead checking. If *fd* is ``-1``, then no typeahead checking is done.
The curses library does "line-breakout optimization" by looking for typeahead
periodically while updating the screen. If input is found, and it is coming
from a tty, the current update is postp... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
9162f737-1f6f-4167-96d9-c604b62f8619 | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,391 | supabase-export-v2 | 8c2501a4154d8ff8 | .. function:: tparm(str[, ...])
Instantiate the bytes object *str* with the supplied parameters, where *str* should
be a parameterized string obtained from the terminfo database. E.g. ``tparm(tigetstr("cup"), 5, 3)`` could result in ``b'\033[6;4H'``, the exact
result depending on terminal type. | trusted_official_docs | CPython Docs | .. function:: tparm(str[, ...])
Instantiate the bytes object *str* with the supplied parameters, where *str* should
be a parameterized string obtained from the terminfo database. E.g. ``tparm(tigetstr("cup"), 5, 3)`` could result in ``b'\033[6;4H'``, the exact
result depending on terminal type. | .. function:: tparm(str[, ...])
Instantiate the bytes object *str* with the supplied parameters, where *str* should
be a parameterized string obtained from the terminfo database. E.g. ``tparm(tigetstr("cup"), 5, 3)`` could result in ``b'\033[6;4H'``, the exact
result depending on terminal type. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
93fbe79c-991f-4f0e-9b49-c1a431baee7b | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,330 | supabase-export-v2 | 90038885eb7ea75d | .. function:: nl()
Enter newline mode. This mode translates the return key into newline on input,
and translates newline into return and line-feed on output. Newline mode is
initially on. | trusted_official_docs | CPython Docs | .. function:: nl()
Enter newline mode. This mode translates the return key into newline on input,
and translates newline into return and line-feed on output. Newline mode is
initially on. | .. function:: nl()
Enter newline mode. This mode translates the return key into newline on input,
and translates newline into return and line-feed on output. Newline mode is
initially on. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
94bf79a3-4e93-469c-9575-a01a87ded66c | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,596 | supabase-export-v2 | 6b5dde7db81ed44d | .. data:: ncurses_version
A named tuple containing the three components of the ncurses library
version: *major*, *minor*, and *patch*. All values are integers. The
components can also be accessed by name, so ``curses.ncurses_version[0]``
is equivalent to ``curses.ncurses_version.major`` and so on. | trusted_official_docs | CPython Docs | .. data:: ncurses_version
A named tuple containing the three components of the ncurses library
version: *major*, *minor*, and *patch*. All values are integers. The
components can also be accessed by name, so ``curses.ncurses_version[0]``
is equivalent to ``curses.ncurses_version.major`` and so on. | .. data:: ncurses_version
A named tuple containing the three components of the ncurses library
version: *major*, *minor*, and *patch*. All values are integers. The
components can also be accessed by name, so ``curses.ncurses_version[0]``
is equivalent to ``curses.ncurses_version.major`` and so on. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
95076aec-2fe1-4feb-9792-3c6ecfacf3fa | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,446 | supabase-export-v2 | d30c6a1ad5ba2534 | parameter will cause the default character to be used for that parameter. Keyword parameters can *not* be used. The defaults are listed in this table:
+-----------+---------------------+-----------------------+
| Parameter | Description | Default value |
+===========+=====================+=======================+
| ... | trusted_official_docs | CPython Docs | parameter will cause the default character to be used for that parameter. Keyword parameters can *not* be used. The defaults are listed in this table:
+-----------+---------------------+-----------------------+
| Parameter | Description | Default value |
+===========+=====================+=======================+
| ... | parameter will cause the default character to be used for that parameter. Keyword parameters can *not* be used. The defaults are listed in this table:
+-----------+---------------------+-----------------------+
| Parameter | Description | Default value |
+===========+=====================+=======================+
| ... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
95bb17df-e5e5-41a6-af20-c121975d6d05 | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,623 | supabase-export-v2 | 065793bc091b2edf | .. data:: KEY_END | End | +-------------------------+--------------------------------------------+ | .. data:: KEY_EXIT | Exit | +-------------------------+--------------------------------------------+ | .. data:: KEY_FIND | Find | +-------------------------+--------------------------------------------+ | ..
data:: KEY... | trusted_official_docs | CPython Docs | .. data:: KEY_END | End | +-------------------------+--------------------------------------------+ | .. data:: KEY_EXIT | Exit | +-------------------------+--------------------------------------------+ | .. data:: KEY_FIND | Find | +-------------------------+--------------------------------------------+ | ..
data:: KEY... | .. data:: KEY_END | End | +-------------------------+--------------------------------------------+ | .. data:: KEY_EXIT | Exit | +-------------------------+--------------------------------------------+ | .. data:: KEY_FIND | Find | +-------------------------+--------------------------------------------+ | ..
data:: KEY... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
95eccefa-34ca-425e-932d-53ef4355e7ce | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,389 | supabase-export-v2 | 5c61e2896f723847 | .. function:: tigetstr(capname)
Return the value of the string capability corresponding to the terminfo
capability name *capname* as a bytes object. Return ``None`` if *capname*
is not a terminfo "string capability", or is canceled or absent from the
terminal description. | trusted_official_docs | CPython Docs | .. function:: tigetstr(capname)
Return the value of the string capability corresponding to the terminfo
capability name *capname* as a bytes object. Return ``None`` if *capname*
is not a terminfo "string capability", or is canceled or absent from the
terminal description. | .. function:: tigetstr(capname)
Return the value of the string capability corresponding to the terminfo
capability name *capname* as a bytes object. Return ``None`` if *capname*
is not a terminfo "string capability", or is canceled or absent from the
terminal description. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
97fb0ab1-574c-45d6-9241-c9de9cd7aaf5 | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,578 | supabase-export-v2 | 34b487676cd15eee | .. method:: window.timeout(delay)
Set blocking or non-blocking read behavior for the window. If *delay* is
negative, blocking read is used (which will wait indefinitely for input). If
*delay* is zero, then non-blocking read is used, and :meth:`getch` will
return ``-1`` if no input is waiting. If *delay* is positive,... | trusted_official_docs | CPython Docs | .. method:: window.timeout(delay)
Set blocking or non-blocking read behavior for the window. If *delay* is
negative, blocking read is used (which will wait indefinitely for input). If
*delay* is zero, then non-blocking read is used, and :meth:`getch` will
return ``-1`` if no input is waiting. If *delay* is positive,... | .. method:: window.timeout(delay)
Set blocking or non-blocking read behavior for the window. If *delay* is
negative, blocking read is used (which will wait indefinitely for input). If
*delay* is zero, then non-blocking read is used, and :meth:`getch` will
return ``-1`` if no input is waiting. If *delay* is positive,... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
99333467-7d67-4bdb-ae66-c8feabaaa50c | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,423 | supabase-export-v2 | 17a94650706b4da7 | to write to the lower right corner of a window, subwindow, or pad will cause an exception to be raised after the character is printed.
.. method:: window.addnstr(str, n[, attr])
window.addnstr(y, x, str, n[, attr]) | trusted_official_docs | CPython Docs | to write to the lower right corner of a window, subwindow, or pad will cause an exception to be raised after the character is printed.
.. method:: window.addnstr(str, n[, attr])
window.addnstr(y, x, str, n[, attr]) | to write to the lower right corner of a window, subwindow, or pad will cause an exception to be raised after the character is printed.
.. method:: window.addnstr(str, n[, attr])
window.addnstr(y, x, str, n[, attr]) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
99fb9183-4979-4a3d-b134-36d7f07525cf | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,396 | supabase-export-v2 | 7806e7a5a4a27ff3 | .. function:: unctrl(ch)
Return a bytes object which is a printable representation of the character *ch*. Control characters are represented as a caret followed by the character, for
example as ``b'^C'``. Printing characters are left as they are. | trusted_official_docs | CPython Docs | .. function:: unctrl(ch)
Return a bytes object which is a printable representation of the character *ch*. Control characters are represented as a caret followed by the character, for
example as ``b'^C'``. Printing characters are left as they are. | .. function:: unctrl(ch)
Return a bytes object which is a printable representation of the character *ch*. Control characters are represented as a caret followed by the character, for
example as ``b'^C'``. Printing characters are left as they are. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
9b8537ac-067a-4370-9ef5-7388d9a34714 | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,536 | supabase-export-v2 | 449900a5591ec7e1 | If *flag* is ``True``, escape sequences will not be timed out.
If *flag* is ``False``, after a few milliseconds, an escape sequence will not be
interpreted, and will be left in the input stream as is. | trusted_official_docs | CPython Docs | If *flag* is ``True``, escape sequences will not be timed out.
If *flag* is ``False``, after a few milliseconds, an escape sequence will not be
interpreted, and will be left in the input stream as is. | If *flag* is ``True``, escape sequences will not be timed out.
If *flag* is ``False``, after a few milliseconds, an escape sequence will not be
interpreted, and will be left in the input stream as is. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
9bbc0464-80f6-4e67-82c0-2e2218785a63 | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,570 | supabase-export-v2 | 7792632d2a2e78ea | Return a sub-window, whose upper-left corner is at ``(begin_y, begin_x)``, and whose width/height is *ncols*/*nlines*.
By default, the sub-window will extend from the specified position to the lower
right corner of the window. | trusted_official_docs | CPython Docs | Return a sub-window, whose upper-left corner is at ``(begin_y, begin_x)``, and whose width/height is *ncols*/*nlines*.
By default, the sub-window will extend from the specified position to the lower
right corner of the window. | Return a sub-window, whose upper-left corner is at ``(begin_y, begin_x)``, and whose width/height is *ncols*/*nlines*.
By default, the sub-window will extend from the specified position to the lower
right corner of the window. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
9d21f8be-1c18-43eb-b336-8101da797fb4 | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,471 | supabase-export-v2 | fbfa2231470a17c8 | the given window, returning ``True`` or ``False``. It is useful for determining what subset of the screen windows enclose the location of a mouse event.
.. versionchanged:: 3.10
Previously it returned ``1`` or ``0`` instead of ``True`` or ``False``. | trusted_official_docs | CPython Docs | the given window, returning ``True`` or ``False``. It is useful for determining what subset of the screen windows enclose the location of a mouse event.
.. versionchanged:: 3.10
Previously it returned ``1`` or ``0`` instead of ``True`` or ``False``. | the given window, returning ``True`` or ``False``. It is useful for determining what subset of the screen windows enclose the location of a mouse event.
.. versionchanged:: 3.10
Previously it returned ``1`` or ``0`` instead of ``True`` or ``False``. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
9d8ac1c1-a05c-43c8-8365-dbe62e019db3 | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,655 | supabase-export-v2 | eea64d558fcb8640 | .. module:: curses.textpad :synopsis: Emacs-like input editing in a curses window.
The :mod:`!curses.textpad` module provides a :class:`Textbox` class that handles
elementary text editing in a curses window, supporting a set of keybindings
resembling those of Emacs (thus, also of Netscape Navigator, BBedit 6.x,
FrameMa... | trusted_official_docs | CPython Docs | .. module:: curses.textpad :synopsis: Emacs-like input editing in a curses window.
The :mod:`!curses.textpad` module provides a :class:`Textbox` class that handles
elementary text editing in a curses window, supporting a set of keybindings
resembling those of Emacs (thus, also of Netscape Navigator, BBedit 6.x,
FrameMa... | .. module:: curses.textpad :synopsis: Emacs-like input editing in a curses window.
The :mod:`!curses.textpad` module provides a :class:`Textbox` class that handles
elementary text editing in a curses window, supporting a set of keybindings
resembling those of Emacs (thus, also of Netscape Navigator, BBedit 6.x,
FrameMa... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
9d91c7b0-d477-4b10-8b26-fb8f11e5dd64 | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,542 | supabase-export-v2 | e8da4eef27245677 | can be used. *sminrow* and *smincol* are the upper-left coordinates of the source window, and the other variables mark a rectangle in the destination window.
.. method:: window.overwrite(destwin[, sminrow, smincol, dminrow, dmincol, dmaxrow, dmaxcol]) | trusted_official_docs | CPython Docs | can be used. *sminrow* and *smincol* are the upper-left coordinates of the source window, and the other variables mark a rectangle in the destination window.
.. method:: window.overwrite(destwin[, sminrow, smincol, dminrow, dmincol, dmaxrow, dmaxcol]) | can be used. *sminrow* and *smincol* are the upper-left coordinates of the source window, and the other variables mark a rectangle in the destination window.
.. method:: window.overwrite(destwin[, sminrow, smincol, dminrow, dmincol, dmaxrow, dmaxcol]) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
9dce20ca-01aa-4dd2-a1d7-1a730f17a89e | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,489 | supabase-export-v2 | 483a18f32791971c | the beginning coordinates of this window relative to its parent window as a tuple ``(y, x)``. Return ``(-1, -1)`` if this window has no parent.
.. method:: window.getstr()
window.getstr(n)
window.getstr(y, x)
window.getstr(y, x, n) | trusted_official_docs | CPython Docs | the beginning coordinates of this window relative to its parent window as a tuple ``(y, x)``. Return ``(-1, -1)`` if this window has no parent.
.. method:: window.getstr()
window.getstr(n)
window.getstr(y, x)
window.getstr(y, x, n) | the beginning coordinates of this window relative to its parent window as a tuple ``(y, x)``. Return ``(-1, -1)`` if this window has no parent.
.. method:: window.getstr()
window.getstr(n)
window.getstr(y, x)
window.getstr(y, x, n) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
9e44027d-eb4e-4314-8131-decc535eb76b | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,618 | supabase-export-v2 | 434b0873f2ef7214 | .. data:: KEY_IC | Insert char or enter insert mode | +-------------------------+--------------------------------------------+ | .. data:: KEY_EIC | Exit insert char mode | +-------------------------+--------------------------------------------+ | ..
data:: KEY_CLEAR | Clear screen |
+-------------------------+--------... | trusted_official_docs | CPython Docs | .. data:: KEY_IC | Insert char or enter insert mode | +-------------------------+--------------------------------------------+ | .. data:: KEY_EIC | Exit insert char mode | +-------------------------+--------------------------------------------+ | ..
data:: KEY_CLEAR | Clear screen |
+-------------------------+--------... | .. data:: KEY_IC | Insert char or enter insert mode | +-------------------------+--------------------------------------------+ | .. data:: KEY_EIC | Exit insert char mode | +-------------------------+--------------------------------------------+ | ..
data:: KEY_CLEAR | Clear screen |
+-------------------------+--------... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
9f254ce3-b705-48d4-a3bb-e929929587e3 | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,220 | supabase-export-v2 | 6a5a727f87dc5648 | The :mod:`!curses` module provides an interface to the curses library, the de-facto standard for portable advanced terminal handling.
While curses is most widely used in the Unix environment, versions are available
for Windows, DOS, and possibly other systems as well. This extension module is
designed to match the API ... | trusted_official_docs | CPython Docs | The :mod:`!curses` module provides an interface to the curses library, the de-facto standard for portable advanced terminal handling.
While curses is most widely used in the Unix environment, versions are available
for Windows, DOS, and possibly other systems as well. This extension module is
designed to match the API ... | The :mod:`!curses` module provides an interface to the curses library, the de-facto standard for portable advanced terminal handling.
While curses is most widely used in the Unix environment, versions are available
for Windows, DOS, and possibly other systems as well. This extension module is
designed to match the API ... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
9f5c4b47-8efb-4aa0-8b20-96331037bcd7 | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,379 | supabase-export-v2 | de35c5f13dd28658 | programmer wants to use colors, and before any other color manipulation routine is called. It is good practice to call this routine right after :func:`initscr`.
:func:`start_color` initializes eight basic colors (black, red, green, yellow,
blue, magenta, cyan, and white), and two global variables in the :mod:`!curses`... | trusted_official_docs | CPython Docs | programmer wants to use colors, and before any other color manipulation routine is called. It is good practice to call this routine right after :func:`initscr`.
:func:`start_color` initializes eight basic colors (black, red, green, yellow,
blue, magenta, cyan, and white), and two global variables in the :mod:`!curses`... | programmer wants to use colors, and before any other color manipulation routine is called. It is good practice to call this routine right after :func:`initscr`.
:func:`start_color` initializes eight basic colors (black, red, green, yellow,
blue, magenta, cyan, and white), and two global variables in the :mod:`!curses`... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
a165caf8-779f-4745-8e5d-783862166899 | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,292 | supabase-export-v2 | 029b43aca4e83fae | .. function:: has_il()
Return ``True`` if the terminal has insert- and delete-line capabilities, or can
simulate them using scrolling regions. This function is included for
historical reasons only, as all modern software terminal emulators have such
capabilities. | trusted_official_docs | CPython Docs | .. function:: has_il()
Return ``True`` if the terminal has insert- and delete-line capabilities, or can
simulate them using scrolling regions. This function is included for
historical reasons only, as all modern software terminal emulators have such
capabilities. | .. function:: has_il()
Return ``True`` if the terminal has insert- and delete-line capabilities, or can
simulate them using scrolling regions. This function is included for
historical reasons only, as all modern software terminal emulators have such
capabilities. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
a1c12bbe-b4f3-408a-b85f-0874d17f9732 | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,507 | supabase-export-v2 | 1cd4619fe107c999 | .. method:: window.insdelln(nlines)
Insert *nlines* lines into the specified window above the current line. The
*nlines* bottom lines are lost. For negative *nlines*, delete *nlines* lines
starting with the one under the cursor, and move the remaining lines up. The
bottom *nlines* lines are cleared. The current curs... | trusted_official_docs | CPython Docs | .. method:: window.insdelln(nlines)
Insert *nlines* lines into the specified window above the current line. The
*nlines* bottom lines are lost. For negative *nlines*, delete *nlines* lines
starting with the one under the cursor, and move the remaining lines up. The
bottom *nlines* lines are cleared. The current curs... | .. method:: window.insdelln(nlines)
Insert *nlines* lines into the specified window above the current line. The
*nlines* bottom lines are lost. For negative *nlines*, delete *nlines* lines
starting with the one under the cursor, and move the remaining lines up. The
bottom *nlines* lines are cleared. The current curs... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
a1e7a393-8093-4ec5-8d4d-7631e1fba182 | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,324 | supabase-export-v2 | 36474abf28d4964f | .. function:: newpad(nlines, ncols)
Create and return a pointer to a new pad data structure with the given number
of lines and columns. Return a pad as a window object. | trusted_official_docs | CPython Docs | .. function:: newpad(nlines, ncols)
Create and return a pointer to a new pad data structure with the given number
of lines and columns. Return a pad as a window object. | .. function:: newpad(nlines, ncols)
Create and return a pointer to a new pad data structure with the given number
of lines and columns. Return a pad as a window object. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
a51d0a49-5493-4f82-9bae-881e2dca5287 | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,251 | supabase-export-v2 | 64cac8b2434522da | .. function:: color_content(color_number)
Return the intensity of the red, green, and blue (RGB) components in the color
*color_number*, which must be between ``0`` and ``COLORS - 1``. Return a 3-tuple,
containing the R,G,B values for the given color, which will be between
``0`` (no component) and ``1000`` (maximum ... | trusted_official_docs | CPython Docs | .. function:: color_content(color_number)
Return the intensity of the red, green, and blue (RGB) components in the color
*color_number*, which must be between ``0`` and ``COLORS - 1``. Return a 3-tuple,
containing the R,G,B values for the given color, which will be between
``0`` (no component) and ``1000`` (maximum ... | .. function:: color_content(color_number)
Return the intensity of the red, green, and blue (RGB) components in the color
*color_number*, which must be between ``0`` and ``COLORS - 1``. Return a 3-tuple,
containing the R,G,B values for the given color, which will be between
``0`` (no component) and ``1000`` (maximum ... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
a6379f7b-88d3-4078-b6fa-311c04e1d297 | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,656 | supabase-export-v2 | 66079919abc2b433 | Netscape Navigator, BBedit 6.x, FrameMaker, and many other programs). The module also provides a rectangle-drawing function useful for framing text boxes or for other purposes.
The module :mod:`!curses.textpad` defines the following function: | trusted_official_docs | CPython Docs | Netscape Navigator, BBedit 6.x, FrameMaker, and many other programs). The module also provides a rectangle-drawing function useful for framing text boxes or for other purposes.
The module :mod:`!curses.textpad` defines the following function: | Netscape Navigator, BBedit 6.x, FrameMaker, and many other programs). The module also provides a rectangle-drawing function useful for framing text boxes or for other purposes.
The module :mod:`!curses.textpad` defines the following function: | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
a6fc0621-8576-43d4-8c4d-cc6f0a74713b | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,491 | supabase-export-v2 | 3b9b19d9d96b48d6 | Read a bytes object from the user, with primitive line editing capacity. The maximum value for *n* is 2047.
.. versionchanged:: 3.14
The maximum value for *n* was increased from 1023 to 2047. | trusted_official_docs | CPython Docs | Read a bytes object from the user, with primitive line editing capacity. The maximum value for *n* is 2047.
.. versionchanged:: 3.14
The maximum value for *n* was increased from 1023 to 2047. | Read a bytes object from the user, with primitive line editing capacity. The maximum value for *n* is 2047.
.. versionchanged:: 3.14
The maximum value for *n* was increased from 1023 to 2047. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
a745c2cd-4803-449b-8aa4-69491ba5770d | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,264 | supabase-export-v2 | 42f5136783433414 | current physical screen contents and a virtual screen representing the desired next state. The :func:`doupdate` ground updates the physical screen to match the virtual screen.
The virtual screen may be updated by a :meth:`~window.noutrefresh` call after write
operations such as :meth:`~window.addstr` have been perform... | trusted_official_docs | CPython Docs | current physical screen contents and a virtual screen representing the desired next state. The :func:`doupdate` ground updates the physical screen to match the virtual screen.
The virtual screen may be updated by a :meth:`~window.noutrefresh` call after write
operations such as :meth:`~window.addstr` have been perform... | current physical screen contents and a virtual screen representing the desired next state. The :func:`doupdate` ground updates the physical screen to match the virtual screen.
The virtual screen may be updated by a :meth:`~window.noutrefresh` call after write
operations such as :meth:`~window.addstr` have been perform... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
a80b4afa-1a46-4eeb-a57d-3d955b002113 | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,642 | supabase-export-v2 | 93a37f1e27828038 | | left tee | +------------------------+------------------------------------------+ | .. data:: ACS_NEQUAL | not-equal sign | +------------------------+------------------------------------------+ | .. data:: ACS_PI | letter pi | +------------------------+------------------------------------------+ | ..
data:: ACS_PLMINU... | trusted_official_docs | CPython Docs | | left tee | +------------------------+------------------------------------------+ | .. data:: ACS_NEQUAL | not-equal sign | +------------------------+------------------------------------------+ | .. data:: ACS_PI | letter pi | +------------------------+------------------------------------------+ | ..
data:: ACS_PLMINU... | | left tee | +------------------------+------------------------------------------+ | .. data:: ACS_NEQUAL | not-equal sign | +------------------------+------------------------------------------+ | .. data:: ACS_PI | letter pi | +------------------------+------------------------------------------+ | ..
data:: ACS_PLMINU... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
a8636a65-ef61-4fe9-9846-f7221b8f5c4a | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,512 | supabase-export-v2 | bfc4a5f4cd9ff7d0 | are shifted right, with the rightmost characters on the line being lost. The cursor position does not change (after moving to *y*, *x*, if specified).
.. method:: window.insstr(str[, attr])
window.insstr(y, x, str[, attr]) | trusted_official_docs | CPython Docs | are shifted right, with the rightmost characters on the line being lost. The cursor position does not change (after moving to *y*, *x*, if specified).
.. method:: window.insstr(str[, attr])
window.insstr(y, x, str[, attr]) | are shifted right, with the rightmost characters on the line being lost. The cursor position does not change (after moving to *y*, *x*, if specified).
.. method:: window.insstr(str[, attr])
window.insstr(y, x, str[, attr]) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
a88d85d1-7053-4a64-a3a2-626bcff00a4c | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,646 | supabase-export-v2 | 905404f3b433b360 | | upper left corner | +------------------------+------------------------------------------+ | .. data:: ACS_URCORNER | upper right corner | +------------------------+------------------------------------------+ | .. data:: ACS_VLINE | vertical line | +------------------------+------------------------------------------+
... | trusted_official_docs | CPython Docs | | upper left corner | +------------------------+------------------------------------------+ | .. data:: ACS_URCORNER | upper right corner | +------------------------+------------------------------------------+ | .. data:: ACS_VLINE | vertical line | +------------------------+------------------------------------------+
... | | upper left corner | +------------------------+------------------------------------------+ | .. data:: ACS_URCORNER | upper right corner | +------------------------+------------------------------------------+ | .. data:: ACS_VLINE | vertical line | +------------------------+------------------------------------------+
... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
a9172541-e2cb-463c-a79e-e66a5b79e5bf | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,253 | supabase-export-v2 | b2a14a5ad1119b0c | .. function:: color_pair(pair_number)
Return the attribute value for displaying text in the specified color pair. Only the first 256 color pairs are supported. This
attribute value can be combined with :const:`A_STANDOUT`, :const:`A_REVERSE`,
and the other :const:`!A_\*` attributes. :func:`pair_number` is the counter... | trusted_official_docs | CPython Docs | .. function:: color_pair(pair_number)
Return the attribute value for displaying text in the specified color pair. Only the first 256 color pairs are supported. This
attribute value can be combined with :const:`A_STANDOUT`, :const:`A_REVERSE`,
and the other :const:`!A_\*` attributes. :func:`pair_number` is the counter... | .. function:: color_pair(pair_number)
Return the attribute value for displaying text in the specified color pair. Only the first 256 color pairs are supported. This
attribute value can be combined with :const:`A_STANDOUT`, :const:`A_REVERSE`,
and the other :const:`!A_\*` attributes. :func:`pair_number` is the counter... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
ab460da3-72bf-40e2-be74-6750d75c0dfd | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,310 | supabase-export-v2 | 9ab2a35e746746a7 | .. function:: keyname(k)
Return the name of the key numbered *k* as a bytes object. The name of a key generating printable
ASCII character is the key's character. The name of a control-key combination
is a two-byte bytes object consisting of a caret (``b'^'``) followed by the corresponding
printable ASCII character.... | trusted_official_docs | CPython Docs | .. function:: keyname(k)
Return the name of the key numbered *k* as a bytes object. The name of a key generating printable
ASCII character is the key's character. The name of a control-key combination
is a two-byte bytes object consisting of a caret (``b'^'``) followed by the corresponding
printable ASCII character.... | .. function:: keyname(k)
Return the name of the key numbered *k* as a bytes object. The name of a key generating printable
ASCII character is the key's character. The name of a control-key combination
is a two-byte bytes object consisting of a caret (``b'^'``) followed by the corresponding
printable ASCII character.... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
ac41d756-ada6-49b6-83b9-880fd5673aeb | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,479 | supabase-export-v2 | 86bfe8676bbe6c99 | .. method:: window.getch([y, x])
Get a character. Note that the integer returned does *not* have to be in ASCII
range: function keys, keypad keys and so on are represented by numbers higher
than 255. In no-delay mode, return ``-1`` if there is no input, otherwise
wait until a key is pressed. | trusted_official_docs | CPython Docs | .. method:: window.getch([y, x])
Get a character. Note that the integer returned does *not* have to be in ASCII
range: function keys, keypad keys and so on are represented by numbers higher
than 255. In no-delay mode, return ``-1`` if there is no input, otherwise
wait until a key is pressed. | .. method:: window.getch([y, x])
Get a character. Note that the integer returned does *not* have to be in ASCII
range: function keys, keypad keys and so on are represented by numbers higher
than 255. In no-delay mode, return ``-1`` if there is no input, otherwise
wait until a key is pressed. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
ada02681-948b-4df7-8fe1-fc9dfdab12db | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,614 | supabase-export-v2 | be77bd2d944e4eb7 | Keys are referred to by integer constants with names starting with ``KEY_``. The exact keycaps available are system dependent.
.. XXX this table is far too large! should it be alphabetized? | trusted_official_docs | CPython Docs | Keys are referred to by integer constants with names starting with ``KEY_``. The exact keycaps available are system dependent.
.. XXX this table is far too large! should it be alphabetized? | Keys are referred to by integer constants with names starting with ``KEY_``. The exact keycaps available are system dependent.
.. XXX this table is far too large! should it be alphabetized? | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
afada690-d417-429a-87ee-4992365473f0 | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,609 | supabase-export-v2 | 5032d75103a72381 | | Underline mode | +------------------------+-------------------------------+ | .. data:: A_HORIZONTAL | Horizontal highlight | +------------------------+-------------------------------+ | .. data:: A_LEFT | Left highlight | +------------------------+-------------------------------+ | ..
data:: A_LOW | Low highlight |
... | trusted_official_docs | CPython Docs | | Underline mode | +------------------------+-------------------------------+ | .. data:: A_HORIZONTAL | Horizontal highlight | +------------------------+-------------------------------+ | .. data:: A_LEFT | Left highlight | +------------------------+-------------------------------+ | ..
data:: A_LOW | Low highlight |
... | | Underline mode | +------------------------+-------------------------------+ | .. data:: A_HORIZONTAL | Horizontal highlight | +------------------------+-------------------------------+ | .. data:: A_LEFT | Left highlight | +------------------------+-------------------------------+ | ..
data:: A_LOW | Low highlight |
... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
b0f27bc2-9447-417a-9195-39a18fb640ce | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,240 | supabase-export-v2 | bb6f7e725c035e23 | Allow use of default values for colors on terminals supporting this feature. Use this to support transparency in your application.
* Assign terminal default foreground/background colors to color number ``-1``. So ``init_pair(x, COLOR_RED, -1)`` will initialize pair *x* as red
on default background and ``init_pair(x, -... | trusted_official_docs | CPython Docs | Allow use of default values for colors on terminals supporting this feature. Use this to support transparency in your application.
* Assign terminal default foreground/background colors to color number ``-1``. So ``init_pair(x, COLOR_RED, -1)`` will initialize pair *x* as red
on default background and ``init_pair(x, -... | Allow use of default values for colors on terminals supporting this feature. Use this to support transparency in your application.
* Assign terminal default foreground/background colors to color number ``-1``. So ``init_pair(x, COLOR_RED, -1)`` will initialize pair *x* as red
on default background and ``init_pair(x, -... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
b3328591-4b86-4d4d-81f9-04e2978c227b | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,336 | supabase-export-v2 | 2309ea8f81dbb3f5 | .. function:: nonl()
Leave newline mode. Disable translation of return into newline on input, and
disable low-level translation of newline into newline/return on output (but this
does not change the behavior of ``addch('\n')``, which always does the
equivalent of return and line feed on the virtual screen). With tra... | trusted_official_docs | CPython Docs | .. function:: nonl()
Leave newline mode. Disable translation of return into newline on input, and
disable low-level translation of newline into newline/return on output (but this
does not change the behavior of ``addch('\n')``, which always does the
equivalent of return and line feed on the virtual screen). With tra... | .. function:: nonl()
Leave newline mode. Disable translation of return into newline on input, and
disable low-level translation of newline into newline/return on output (but this
does not change the behavior of ``addch('\n')``, which always does the
equivalent of return and line feed on the virtual screen). With tra... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
b44a9726-7a7e-4e91-b59d-4a765246f9d1 | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,541 | supabase-export-v2 | 2259209ad5569a44 | only the overlapping region is copied. This copy is non-destructive, which means that the current background character does not overwrite the old contents of *destwin*.
To get fine-grained control over the copied region, the second form of
:meth:`overlay` can be used. *sminrow* and *smincol* are the upper-left
coordi... | trusted_official_docs | CPython Docs | only the overlapping region is copied. This copy is non-destructive, which means that the current background character does not overwrite the old contents of *destwin*.
To get fine-grained control over the copied region, the second form of
:meth:`overlay` can be used. *sminrow* and *smincol* are the upper-left
coordi... | only the overlapping region is copied. This copy is non-destructive, which means that the current background character does not overwrite the old contents of *destwin*.
To get fine-grained control over the copied region, the second form of
:meth:`overlay` can be used. *sminrow* and *smincol* are the upper-left
coordi... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
b5222bc3-0cab-4b1f-adf5-0f6c7a1c0b44 | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,627 | supabase-export-v2 | 6f98f8112915ee1c | | Shifted Delete line | +-------------------------+--------------------------------------------+ | .. data:: KEY_SELECT | Select | +-------------------------+--------------------------------------------+ | .. data:: KEY_SEND | Shifted End | +-------------------------+--------------------------------------------+ | ..
d... | trusted_official_docs | CPython Docs | | Shifted Delete line | +-------------------------+--------------------------------------------+ | .. data:: KEY_SELECT | Select | +-------------------------+--------------------------------------------+ | .. data:: KEY_SEND | Shifted End | +-------------------------+--------------------------------------------+ | ..
d... | | Shifted Delete line | +-------------------------+--------------------------------------------+ | .. data:: KEY_SELECT | Select | +-------------------------+--------------------------------------------+ | .. data:: KEY_SEND | Shifted End | +-------------------------+--------------------------------------------+ | ..
d... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
b5e822da-a839-41a7-bd58-4c78153f7b1b | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,640 | supabase-export-v2 | 9479452a90f11d3d | bullet | +------------------------+------------------------------------------+ | .. data:: ACS_CKBOARD | checker board (stipple) | +------------------------+------------------------------------------+ | .. data:: ACS_DARROW | arrow pointing down | +------------------------+------------------------------------------+ | ... | trusted_official_docs | CPython Docs | bullet | +------------------------+------------------------------------------+ | .. data:: ACS_CKBOARD | checker board (stipple) | +------------------------+------------------------------------------+ | .. data:: ACS_DARROW | arrow pointing down | +------------------------+------------------------------------------+ | ... | bullet | +------------------------+------------------------------------------+ | .. data:: ACS_CKBOARD | checker board (stipple) | +------------------------+------------------------------------------+ | .. data:: ACS_DARROW | arrow pointing down | +------------------------+------------------------------------------+ | ... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
b7789a60-255a-49ed-9ad8-4f54b066c1fe | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,237 | supabase-export-v2 | e7da93e2a4d47456 | *y* arguments to a function or a method are optional, they default to the current cursor location. Whenever *attr* is optional, it defaults to :const:`A_NORMAL`.
The module :mod:`!curses` defines the following functions: | trusted_official_docs | CPython Docs | *y* arguments to a function or a method are optional, they default to the current cursor location. Whenever *attr* is optional, it defaults to :const:`A_NORMAL`.
The module :mod:`!curses` defines the following functions: | *y* arguments to a function or a method are optional, they default to the current cursor location. Whenever *attr* is optional, it defaults to :const:`A_NORMAL`.
The module :mod:`!curses` defines the following functions: | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
b861ab18-8037-40bd-87e7-4d53caa413b3 | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,443 | supabase-export-v2 | cc601c0eb0d998dd | .. method:: window.border([ls[, rs[, ts[, bs[, tl[, tr[, bl[, br]]]]]]]])
Draw a border around the edges of the window. Each parameter specifies the
character to use for a specific part of the border; see the table below for more
details. | trusted_official_docs | CPython Docs | .. method:: window.border([ls[, rs[, ts[, bs[, tl[, tr[, bl[, br]]]]]]]])
Draw a border around the edges of the window. Each parameter specifies the
character to use for a specific part of the border; see the table below for more
details. | .. method:: window.border([ls[, rs[, ts[, bs[, tl[, tr[, bl[, br]]]]]]]])
Draw a border around the edges of the window. Each parameter specifies the
character to use for a specific part of the border; see the table below for more
details. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
b980e6b9-6d44-4844-a1ac-fe4ff06d88b1 | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,632 | supabase-export-v2 | 31f1c20bf785dcdd | data:: KEY_MAX | Maximum key value | +-------------------------+--------------------------------------------+
On VT100s and their software emulations, such as X terminal emulators, there are
normally at least four function keys (:const:`KEY_F1 <KEY_Fn>`, :const:`KEY_F2 <KEY_Fn>`,
:const:`KEY_F3 <KEY_Fn>`, :const:`KEY_F... | trusted_official_docs | CPython Docs | data:: KEY_MAX | Maximum key value | +-------------------------+--------------------------------------------+
On VT100s and their software emulations, such as X terminal emulators, there are
normally at least four function keys (:const:`KEY_F1 <KEY_Fn>`, :const:`KEY_F2 <KEY_Fn>`,
:const:`KEY_F3 <KEY_Fn>`, :const:`KEY_F... | data:: KEY_MAX | Maximum key value | +-------------------------+--------------------------------------------+
On VT100s and their software emulations, such as X terminal emulators, there are
normally at least four function keys (:const:`KEY_F1 <KEY_Fn>`, :const:`KEY_F2 <KEY_Fn>`,
:const:`KEY_F3 <KEY_Fn>`, :const:`KEY_F... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
b9ae97d1-99b0-445b-a67b-432364905f7f | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,272 | supabase-export-v2 | c921d4c90f685886 | .. function:: filter()
The :func:`.filter` routine, if used, must be called before :func:`initscr` is
called. The effect is that, during those calls, :envvar:`LINES` is set to ``1``; the
capabilities ``clear``, ``cup``, ``cud``, ``cud1``, ``cuu1``, ``cuu``, ``vpa`` are disabled; and the ``home``
string is set to the... | trusted_official_docs | CPython Docs | .. function:: filter()
The :func:`.filter` routine, if used, must be called before :func:`initscr` is
called. The effect is that, during those calls, :envvar:`LINES` is set to ``1``; the
capabilities ``clear``, ``cup``, ``cud``, ``cud1``, ``cuu1``, ``cuu``, ``vpa`` are disabled; and the ``home``
string is set to the... | .. function:: filter()
The :func:`.filter` routine, if used, must be called before :func:`initscr` is
called. The effect is that, during those calls, :envvar:`LINES` is set to ``1``; the
capabilities ``clear``, ``cup``, ``cud``, ``cud1``, ``cuu1``, ``cuu``, ``vpa`` are disabled; and the ``home``
string is set to the... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
baa66611-0ff9-4008-983b-08922f6b1fb9 | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,437 | supabase-export-v2 | 4c622e4f977e394b | .. method:: window.bkgd(ch[, attr])
Set the background property of the window to the character *ch*, with
attributes *attr*. The change is then applied to every character position in
that window: | trusted_official_docs | CPython Docs | .. method:: window.bkgd(ch[, attr])
Set the background property of the window to the character *ch*, with
attributes *attr*. The change is then applied to every character position in
that window: | .. method:: window.bkgd(ch[, attr])
Set the background property of the window to the character *ch*, with
attributes *attr*. The change is then applied to every character position in
that window: | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
bb032f8d-623e-42c9-a3c9-48f607ab31d1 | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,673 | supabase-export-v2 | 203bb07dfa0c8d22 | Move operations do nothing if the cursor is at an edge where the movement is not possible. The following synonyms are supported where possible:
+--------------------------------+------------------+
| Constant | Keystroke |
+================================+==================+
| :const:`~curses.KEY_LEFT` | :kbd:`Cont... | trusted_official_docs | CPython Docs | Move operations do nothing if the cursor is at an edge where the movement is not possible. The following synonyms are supported where possible:
+--------------------------------+------------------+
| Constant | Keystroke |
+================================+==================+
| :const:`~curses.KEY_LEFT` | :kbd:`Cont... | Move operations do nothing if the cursor is at an edge where the movement is not possible. The following synonyms are supported where possible:
+--------------------------------+------------------+
| Constant | Keystroke |
+================================+==================+
| :const:`~curses.KEY_LEFT` | :kbd:`Cont... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
bb0aba22-9415-4109-946c-24588939dfa1 | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,411 | supabase-export-v2 | 5ca2dd52d99f3082 | .. function:: use_env(flag)
If used, this function should be called before :func:`initscr` or newterm are
called. When *flag* is ``False``, the values of lines and columns specified in the
terminfo database will be used, even if environment variables :envvar:`LINES`
and :envvar:`COLUMNS` (used by default) are set, o... | trusted_official_docs | CPython Docs | .. function:: use_env(flag)
If used, this function should be called before :func:`initscr` or newterm are
called. When *flag* is ``False``, the values of lines and columns specified in the
terminfo database will be used, even if environment variables :envvar:`LINES`
and :envvar:`COLUMNS` (used by default) are set, o... | .. function:: use_env(flag)
If used, this function should be called before :func:`initscr` or newterm are
called. When *flag* is ``False``, the values of lines and columns specified in the
terminfo database will be used, even if environment variables :envvar:`LINES`
and :envvar:`COLUMNS` (used by default) are set, o... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
bd7dd660-a60b-40e1-bc78-45857e8cfcad | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,522 | supabase-export-v2 | 48cda75410083133 | .. method:: window.keypad(flag)
If *flag* is ``True``, escape sequences generated by some keys (keypad, function keys)
will be interpreted by :mod:`!curses`. If *flag* is ``False``, escape sequences will be
left as is in the input stream. | trusted_official_docs | CPython Docs | .. method:: window.keypad(flag)
If *flag* is ``True``, escape sequences generated by some keys (keypad, function keys)
will be interpreted by :mod:`!curses`. If *flag* is ``False``, escape sequences will be
left as is in the input stream. | .. method:: window.keypad(flag)
If *flag* is ``True``, escape sequences generated by some keys (keypad, function keys)
will be interpreted by :mod:`!curses`. If *flag* is ``False``, escape sequences will be
left as is in the input stream. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
c24a1bdd-6fe5-42ec-b511-a9641e4c8bbc | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,243 | supabase-export-v2 | 0d466259009ad57f | .. function:: baudrate()
Return the output speed of the terminal in bits per second. On software
terminal emulators it will have a fixed high value. Included for historical
reasons; in former times, it was used to write output loops for time delays and
occasionally to change interfaces depending on the line speed. | trusted_official_docs | CPython Docs | .. function:: baudrate()
Return the output speed of the terminal in bits per second. On software
terminal emulators it will have a fixed high value. Included for historical
reasons; in former times, it was used to write output loops for time delays and
occasionally to change interfaces depending on the line speed. | .. function:: baudrate()
Return the output speed of the terminal in bits per second. On software
terminal emulators it will have a fixed high value. Included for historical
reasons; in former times, it was used to write output loops for time delays and
occasionally to change interfaces depending on the line speed. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
c3301157-19aa-47c7-8299-2d23e6c467a8 | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,641 | supabase-export-v2 | 8b53717588226bbb | | horizontal line | +------------------------+------------------------------------------+ | .. data:: ACS_LANTERN | lantern symbol | +------------------------+------------------------------------------+ | .. data:: ACS_LARROW | left arrow | +------------------------+------------------------------------------+ | ..
data... | trusted_official_docs | CPython Docs | | horizontal line | +------------------------+------------------------------------------+ | .. data:: ACS_LANTERN | lantern symbol | +------------------------+------------------------------------------+ | .. data:: ACS_LARROW | left arrow | +------------------------+------------------------------------------+ | ..
data... | | horizontal line | +------------------------+------------------------------------------+ | .. data:: ACS_LANTERN | lantern symbol | +------------------------+------------------------------------------+ | .. data:: ACS_LARROW | left arrow | +------------------------+------------------------------------------+ | ..
data... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
c46e6548-2fae-4157-b171-0dd859c51fb5 | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,647 | supabase-export-v2 | 9846cd1bcefe73bb | The following table lists mouse button constants used by :meth:`getmouse`:
+----------------------------------+---------------------------------------------+
| Mouse button constant | Meaning |
+==================================+=============================================+
| .. data:: BUTTONn_PRESSED | Mouse button ... | trusted_official_docs | CPython Docs | The following table lists mouse button constants used by :meth:`getmouse`:
+----------------------------------+---------------------------------------------+
| Mouse button constant | Meaning |
+==================================+=============================================+
| .. data:: BUTTONn_PRESSED | Mouse button ... | The following table lists mouse button constants used by :meth:`getmouse`:
+----------------------------------+---------------------------------------------+
| Mouse button constant | Meaning |
+==================================+=============================================+
| .. data:: BUTTONn_PRESSED | Mouse button ... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
c62caf88-de02-411c-89e3-b6325db905aa | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,649 | supabase-export-v2 | d3ddbd6cc6656c08 | BUTTON_CTRL | Control was down during button state change | +----------------------------------+---------------------------------------------+ | .. data:: BUTTON_ALT | Control was down during button state change | +----------------------------------+---------------------------------------------+
.. versionchanged:: 3.1... | trusted_official_docs | CPython Docs | BUTTON_CTRL | Control was down during button state change | +----------------------------------+---------------------------------------------+ | .. data:: BUTTON_ALT | Control was down during button state change | +----------------------------------+---------------------------------------------+
.. versionchanged:: 3.1... | BUTTON_CTRL | Control was down during button state change | +----------------------------------+---------------------------------------------+ | .. data:: BUTTON_ALT | Control was down during button state change | +----------------------------------+---------------------------------------------+
.. versionchanged:: 3.1... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
c6d9909f-86d2-4d85-89f5-2e88f7d04384 | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,645 | supabase-export-v2 | 77b7c020df9db481 | | pound sterling | +------------------------+------------------------------------------+ | .. data:: ACS_TTEE | top tee | +------------------------+------------------------------------------+ | .. data:: ACS_UARROW | up arrow | +------------------------+------------------------------------------+ | ..
data:: ACS_ULCORN... | trusted_official_docs | CPython Docs | | pound sterling | +------------------------+------------------------------------------+ | .. data:: ACS_TTEE | top tee | +------------------------+------------------------------------------+ | .. data:: ACS_UARROW | up arrow | +------------------------+------------------------------------------+ | ..
data:: ACS_ULCORN... | | pound sterling | +------------------------+------------------------------------------+ | .. data:: ACS_TTEE | top tee | +------------------------+------------------------------------------+ | .. data:: ACS_UARROW | up arrow | +------------------------+------------------------------------------+ | ..
data:: ACS_ULCORN... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
c9b23bc3-b4ca-4e6e-89fc-067576a9496f | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,639 | supabase-export-v2 | 2f65688fbe0b54ce | +------------------------+------------------------------------------+ | .. data:: ACS_BOARD | board of squares | +------------------------+------------------------------------------+ | .. data:: ACS_BSBS | alternate name for horizontal line | +------------------------+------------------------------------------+ | ..
da... | trusted_official_docs | CPython Docs | +------------------------+------------------------------------------+ | .. data:: ACS_BOARD | board of squares | +------------------------+------------------------------------------+ | .. data:: ACS_BSBS | alternate name for horizontal line | +------------------------+------------------------------------------+ | ..
da... | +------------------------+------------------------------------------+ | .. data:: ACS_BOARD | board of squares | +------------------------+------------------------------------------+ | .. data:: ACS_BSBS | alternate name for horizontal line | +------------------------+------------------------------------------+ | ..
da... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
ca5e0b2e-1dd6-40bb-b709-f5232080d7a0 | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,607 | supabase-export-v2 | bb0f8c12021d47fb | Some constants are available to specify character cell attributes. The exact constants available are system dependent.
+------------------------+-------------------------------+
| Attribute | Meaning |
+========================+===============================+
| .. data:: A_ALTCHARSET | Alternate character set mode |
+... | trusted_official_docs | CPython Docs | Some constants are available to specify character cell attributes. The exact constants available are system dependent.
+------------------------+-------------------------------+
| Attribute | Meaning |
+========================+===============================+
| .. data:: A_ALTCHARSET | Alternate character set mode |
+... | Some constants are available to specify character cell attributes. The exact constants available are system dependent.
+------------------------+-------------------------------+
| Attribute | Meaning |
+========================+===============================+
| .. data:: A_ALTCHARSET | Alternate character set mode |
+... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
cb5ef0f9-234f-430c-9ef7-377c197348d4 | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,663 | supabase-export-v2 | 4cc11b583acafb09 | .. class:: Textbox(win)
Return a textbox widget object. The *win* argument should be a curses
:ref:`window <curses-window-objects>` object in which the textbox is to
be contained. The edit cursor of the textbox is initially located at the
upper left hand corner of the containing window, with coordinates ``(0, 0)``. ... | trusted_official_docs | CPython Docs | .. class:: Textbox(win)
Return a textbox widget object. The *win* argument should be a curses
:ref:`window <curses-window-objects>` object in which the textbox is to
be contained. The edit cursor of the textbox is initially located at the
upper left hand corner of the containing window, with coordinates ``(0, 0)``. ... | .. class:: Textbox(win)
Return a textbox widget object. The *win* argument should be a curses
:ref:`window <curses-window-objects>` object in which the textbox is to
be contained. The edit cursor of the textbox is initially located at the
upper left hand corner of the containing window, with coordinates ``(0, 0)``. ... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
cd264812-c170-4ccf-b578-98572b672f36 | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,610 | supabase-export-v2 | c822d38d90ffd23d | data:: A_RIGHT | Right highlight | +------------------------+-------------------------------+ | .. data:: A_TOP | Top highlight | +------------------------+-------------------------------+ | .. data:: A_VERTICAL | Vertical highlight | +------------------------+-------------------------------+
.. versionadded:: 3.7
``A... | trusted_official_docs | CPython Docs | data:: A_RIGHT | Right highlight | +------------------------+-------------------------------+ | .. data:: A_TOP | Top highlight | +------------------------+-------------------------------+ | .. data:: A_VERTICAL | Vertical highlight | +------------------------+-------------------------------+
.. versionadded:: 3.7
``A... | data:: A_RIGHT | Right highlight | +------------------------+-------------------------------+ | .. data:: A_TOP | Top highlight | +------------------------+-------------------------------+ | .. data:: A_VERTICAL | Vertical highlight | +------------------------+-------------------------------+
.. versionadded:: 3.7
``A... | python, official-docs, cpython, P0 | Local_Trusted_Corpus |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.