Avoid LaTeX errors due to non-printable characters. Submitted upstream: https://github.com/ipython/ipython/pull/13640 diff --git a/IPython/utils/coloransi.py b/IPython/utils/coloransi.py index e33142180..9300b0108 100644 --- a/IPython/utils/coloransi.py +++ b/IPython/utils/coloransi.py @@ -74,8 +74,8 @@ class TermColors: class InputTermColors: """Color escape sequences for input prompts. - This class is similar to TermColors, but the escapes are wrapped in \001 - and \002 so that readline can properly know the length of each line and + This class is similar to TermColors, but the escapes are wrapped in \\001 + and \\002 so that readline can properly know the length of each line and can wrap lines accordingly. Use this class for any colored text which needs to be used in input prompts, such as in calls to raw_input(). tr> Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/nix/nix-daemon
AgeCommit message (Expand)Author
2022-04-14daemon: Support systemd-style socket activation....* nix/nix-daemon/guix-daemon.cc (SD_LISTEN_FDS_START): New macro. (systemd_activation_sockets): New function. (main): Use it. Remove obsolete 'printMsg' call. * doc/guix.texi (Invoking guix-daemon): Document socket activation. Ludovic Courtès