diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2018-09-04 23:29:21 -0700 |
---|---|---|
committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2018-09-04 23:29:21 -0700 |
commit | 52d76c18246e70a5311b94c452c236524d64586e (patch) | |
tree | 3d254c4bb555a214913554468885aa9fb792ef64 | |
parent | ce3b5fe450a4cdde2ebf89f1386395c0bad13980 (diff) | |
download | cmd2-git-52d76c18246e70a5311b94c452c236524d64586e.tar.gz |
Try to fix last failing Windows unit test by removing special behavior of _surround_ansi_escapes method
-rw-r--r-- | cmd2/cmd2.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py index 2263d95f..37b0d2d9 100644 --- a/cmd2/cmd2.py +++ b/cmd2/cmd2.py @@ -2096,10 +2096,6 @@ class Cmd(cmd.Cmd): :param end: end code to tell GNU Readline about end of invisible characters :return: prompt safe to pass to GNU Readline """ - # Windows terminals don't use ANSI escape codes and Windows readline isn't based on GNU Readline - if sys.platform == "win32": - return prompt - escaped = False result = "" |