YES! Now there are support for Jupyter notebooks and complete Disable behavior!
I've achieved this via four terminal abstractions, with three accessible via force_tty arguments, and one via disable.
Also, I've implemented auto-detection of Jupyter notebooks, so there isn't any changes in code to make it work!!
The arguments are:
force_tty=False -> disables animations, keeping only the final receipt [NON_TTY terminal]
force_tty=None (default) -> auto select, according to the terminal's tty state [any of three terminals above]
disable=True -> completely disables all output [VOID terminal]
The Jupyter notebook do not support ANSI Escape Codes, so I had to develop a workaround terminal, which emulate functions line "clear the line" and "clear from cursor". This is the JUPYTER terminal.
It seems to work very well, but at this moment should be considered Experimental.
YES! Now there are support for Jupyter notebooks and complete Disable behavior!
I've achieved this via four terminal abstractions, with three accessible via
force_tty
arguments, and one viadisable
. Also, I've implemented auto-detection of Jupyter notebooks, so there isn't any changes in code to make it work!!The arguments are:
force_tty=False
-> disables animations, keeping only the final receipt [NON_TTY
terminal]force_tty=True
-> enables animations, auto-detects Jupyter Notebooks! [TTY
orJUPYTER
terminal]force_tty=None
(default) -> auto select, according to the terminal's tty state [any of three terminals above]disable=True
-> completely disables all output [VOID
terminal]The Jupyter notebook do not support ANSI Escape Codes, so I had to develop a workaround terminal, which emulate functions line "clear the line" and "clear from cursor". This is the
JUPYTER
terminal. It seems to work very well, but at this moment should be considered Experimental.