Show More
@@ -74,8 +74,8 b' make_color_table(TermColors)' | |||
|
74 | 74 | class InputTermColors: |
|
75 | 75 | """Color escape sequences for input prompts. |
|
76 | 76 | |
|
77 | This class is similar to TermColors, but the escapes are wrapped in \001 | |
|
78 | and \002 so that readline can properly know the length of each line and | |
|
77 | This class is similar to TermColors, but the escapes are wrapped in \\001 | |
|
78 | and \\002 so that readline can properly know the length of each line and | |
|
79 | 79 | can wrap lines accordingly. Use this class for any colored text which |
|
80 | 80 | needs to be used in input prompts, such as in calls to raw_input(). |
|
81 | 81 |
General Comments 0
You need to be logged in to leave comments.
Login now