Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e8c44d9

Browse files
committed
Delete prompt colors
1 parent 27bdd37 commit e8c44d9

1 file changed

Lines changed: 0 additions & 24 deletions

File tree

IPython/utils/PyColorize.py

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,6 @@
7272
token.ERRORTOKEN: Colors.NoColor,
7373
_KEYWORD: Colors.NoColor,
7474
_TEXT: Colors.NoColor,
75-
"in_prompt": InputTermColors.NoColor, # Input prompt
76-
"in_number": InputTermColors.NoColor, # Input prompt number
77-
"in_prompt2": InputTermColors.NoColor, # Continuation prompt
78-
"in_normal": InputTermColors.NoColor, # color off (usu. Colors.Normal)
79-
"out_prompt": Colors.NoColor, # Output prompt
80-
"out_number": Colors.NoColor, # Output prompt number
8175
"normal": Colors.NoColor, # color off (usu. Colors.Normal)
8276
},
8377
)
@@ -94,12 +88,6 @@
9488
token.ERRORTOKEN: Colors.Red,
9589
_KEYWORD: Colors.LightGreen,
9690
_TEXT: Colors.Yellow,
97-
"in_prompt": InputTermColors.Green,
98-
"in_number": InputTermColors.LightGreen,
99-
"in_prompt2": InputTermColors.Green,
100-
"in_normal": InputTermColors.Normal, # color off (usu. Colors.Normal)
101-
"out_prompt": Colors.Red,
102-
"out_number": Colors.LightRed,
10391
"normal": Colors.Normal, # color off (usu. Colors.Normal)
10492
},
10593
)
@@ -116,12 +104,6 @@
116104
token.ERRORTOKEN: Colors.Red,
117105
_KEYWORD: Colors.Green,
118106
_TEXT: Colors.Blue,
119-
"in_prompt": InputTermColors.Blue,
120-
"in_number": InputTermColors.LightBlue,
121-
"in_prompt2": InputTermColors.Blue,
122-
"in_normal": InputTermColors.Normal, # color off (usu. Colors.Normal)
123-
"out_prompt": Colors.Red,
124-
"out_number": Colors.LightRed,
125107
"normal": Colors.Normal, # color off (usu. Colors.Normal)
126108
},
127109
)
@@ -148,12 +130,6 @@
148130
token.ERRORTOKEN: Colors.Red,
149131
_KEYWORD: Colors.Green,
150132
_TEXT: Colors.Blue,
151-
"in_prompt": InputTermColors.Blue,
152-
"in_number": InputTermColors.LightBlue,
153-
"in_prompt2": InputTermColors.Blue,
154-
"in_normal": InputTermColors.Normal, # color off (usu. Colors.Normal)
155-
"out_prompt": Colors.Red,
156-
"out_number": Colors.LightRed,
157133
"normal": Colors.Normal, # color off (usu. Colors.Normal)
158134
},
159135
)

0 commit comments

Comments
 (0)