summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmd2/cmd2.py4
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 = ""