-
-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix ANSI control sequences in Jupyter notebooks
Fixes #176 - It checks if stdout is a TTY before printing private ANSI control sequences (DECTCEM 1&2) - Corrected the EL sequence, which was missing the 0 for its canonical form - Added a CR before the EL (which was already partly the case, but cluttered around the code) - Some clean-up in the code calling the foregoing functions
- Loading branch information
Showing
2 changed files
with
18 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters