@@ -101,6 +101,7 @@ public class PSConsoleReadLineOptions
101101 public const string DefaultInlinePredictionColor = "\x1b [97;2;3m" ;
102102 public const string DefaultListPredictionColor = "\x1b [33m" ;
103103 public const string DefaultListPredictionSelectedColor = "\x1b [48;5;238m" ;
104+ public const string DefaultListPredictionTooltipColor = "\x1b [97;2;3m" ;
104105
105106 public static EditMode DefaultEditMode = RuntimeInformation . IsOSPlatform ( OSPlatform . Windows )
106107 ? EditMode . Windows
@@ -495,6 +496,12 @@ public object ListPredictionSelectedColor
495496 set => _listPredictionSelectedColor = VTColorUtils . AsEscapeSequence ( value ) ;
496497 }
497498
499+ public object ListPredictionTooltipColor
500+ {
501+ get => _listPredictionTooltipColor ;
502+ set => _listPredictionTooltipColor = VTColorUtils . AsEscapeSequence ( value ) ;
503+ }
504+
498505 internal string _defaultTokenColor ;
499506 internal string _commentColor ;
500507 internal string _keywordColor ;
@@ -512,6 +519,7 @@ public object ListPredictionSelectedColor
512519 internal string _inlinePredictionColor ;
513520 internal string _listPredictionColor ;
514521 internal string _listPredictionSelectedColor ;
522+ internal string _listPredictionTooltipColor ;
515523
516524 internal void ResetColors ( )
517525 {
@@ -532,6 +540,7 @@ internal void ResetColors()
532540 InlinePredictionColor = DefaultInlinePredictionColor ;
533541 ListPredictionColor = DefaultListPredictionColor ;
534542 ListPredictionSelectedColor = DefaultListPredictionSelectedColor ;
543+ ListPredictionTooltipColor = DefaultListPredictionTooltipColor ;
535544
536545 var bg = Console . BackgroundColor ;
537546 if ( fg == VTColorUtils . UnknownColor || bg == VTColorUtils . UnknownColor )
@@ -571,6 +580,7 @@ internal void SetColor(string property, object value)
571580 { "InlinePrediction" , ( o , v ) => o . InlinePredictionColor = v } ,
572581 { "ListPrediction" , ( o , v ) => o . ListPredictionColor = v } ,
573582 { "ListPredictionSelected" , ( o , v ) => o . ListPredictionSelectedColor = v } ,
583+ { "ListPredictionTooltip" , ( o , v ) => o . ListPredictionTooltipColor = v } ,
574584 } ;
575585
576586 Interlocked . CompareExchange ( ref ColorSetters , setters , null ) ;
0 commit comments