@@ -50,8 +50,6 @@ pub struct ColorfulTheme {
5050 // Formats the highlighting if matched characters
5151 #[ cfg( feature = "fuzzy-select" ) ]
5252 pub fuzzy_match_highlight_style : Style ,
53- /// Show the selections from certain prompts inline
54- pub inline_selections : bool ,
5553}
5654
5755impl Default for ColorfulTheme {
@@ -79,7 +77,6 @@ impl Default for ColorfulTheme {
7977 fuzzy_cursor_style : Style :: new ( ) . for_stderr ( ) . black ( ) . on_white ( ) ,
8078 #[ cfg( feature = "fuzzy-select" ) ]
8179 fuzzy_match_highlight_style : Style :: new ( ) . for_stderr ( ) . bold ( ) ,
82- inline_selections : true ,
8380 }
8481 }
8582}
@@ -260,15 +257,13 @@ impl Theme for ColorfulTheme {
260257
261258 write ! ( f, "{} " , & self . success_suffix) ?;
262259
263- if self . inline_selections {
264- for ( idx, sel) in selections. iter ( ) . enumerate ( ) {
265- write ! (
266- f,
267- "{}{}" ,
268- if idx == 0 { "" } else { ", " } ,
269- self . values_style. apply_to( sel)
270- ) ?;
271- }
260+ for ( idx, sel) in selections. iter ( ) . enumerate ( ) {
261+ write ! (
262+ f,
263+ "{}{}" ,
264+ if idx == 0 { "" } else { ", " } ,
265+ self . values_style. apply_to( sel)
266+ ) ?;
272267 }
273268
274269 Ok ( ( ) )
0 commit comments