@@ -87,7 +87,7 @@ public class PSConsoleReadLineOptions
8787
8888 // Use dark black by default for the suggestion text.
8989 // Find the most suitable color using https://stackoverflow.com/a/33206814
90- public const string DefaultPredictionColor = "\x1b [38;5;238m" ;
90+ public const string DefaultInlinePredictionColor = "\x1b [38;5;238m" ;
9191
9292 public static EditMode DefaultEditMode = RuntimeInformation . IsOSPlatform ( OSPlatform . Windows )
9393 ? EditMode . Windows
@@ -451,10 +451,10 @@ public object SelectionColor
451451 set => _selectionColor = VTColorUtils . AsEscapeSequence ( value ) ;
452452 }
453453
454- public object PredictionColor
454+ public object InlinePredictionColor
455455 {
456- get => _predictionColor ;
457- set => _predictionColor = VTColorUtils . AsEscapeSequence ( value ) ;
456+ get => _inlinePredictionColor ;
457+ set => _inlinePredictionColor = VTColorUtils . AsEscapeSequence ( value ) ;
458458 }
459459
460460 internal string _defaultTokenColor ;
@@ -471,7 +471,7 @@ public object PredictionColor
471471 internal string _emphasisColor ;
472472 internal string _errorColor ;
473473 internal string _selectionColor ;
474- internal string _predictionColor ;
474+ internal string _inlinePredictionColor ;
475475
476476 internal void ResetColors ( )
477477 {
@@ -489,7 +489,7 @@ internal void ResetColors()
489489 MemberColor = DefaultNumberColor ;
490490 EmphasisColor = DefaultEmphasisColor ;
491491 ErrorColor = DefaultErrorColor ;
492- PredictionColor = DefaultPredictionColor ;
492+ InlinePredictionColor = DefaultInlinePredictionColor ;
493493
494494 var bg = Console . BackgroundColor ;
495495 if ( fg == VTColorUtils . UnknownColor || bg == VTColorUtils . UnknownColor )
@@ -526,7 +526,7 @@ internal void SetColor(string property, object value)
526526 { "Number" , ( o , v ) => o . NumberColor = v } ,
527527 { "Member" , ( o , v ) => o . MemberColor = v } ,
528528 { "Selection" , ( o , v ) => o . SelectionColor = v } ,
529- { "Prediction " , ( o , v ) => o . PredictionColor = v } ,
529+ { "InlinePrediction " , ( o , v ) => o . InlinePredictionColor = v } ,
530530 } ;
531531
532532 Interlocked . CompareExchange ( ref ColorSetters , setters , null ) ;
0 commit comments