You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's actually perfectly fine to call curses.setupterm(kind, open(os.devnull).fileno()).
More importantly, this removes a chunk of documentation and comments, such as:
Terminal initialization sequences will be sent to ``stream`` if it
has a file descriptor and to ``sys.__stdout__`` otherwise. (``setupterm()`` demands to send them
somewhere, and stdout is probably where the output is ultimately
headed. If not, stderr is probably bound to the same terminal.)
and
# (...) Explicit args make setupterm()
# work even when -s is passed to nosetests. Lean toward sending
# init sequences to the stream if it has a file descriptor, and
# send them to stdout as a fallback, since they have to go
# somewhere.
- move "styles" section from colors.rst to terminal.rst
- add term.link("https://example.com", "example.com") hyperlink support
- add bin/cnn.py news example
- revert this setupterm() experiment #59, discussed in #146
- ignore ValueError for multiprocessing environments #146
It's actually perfectly fine to call
curses.setupterm(kind, open(os.devnull).fileno())
.More importantly, this removes a chunk of documentation and comments, such as:
and
This issue backports upstream erikrose#95
The text was updated successfully, but these errors were encountered: