@@ -50,8 +50,6 @@ pub struct ColorfulTheme {
50
50
// Formats the highlighting if matched characters
51
51
#[ cfg( feature = "fuzzy-select" ) ]
52
52
pub fuzzy_match_highlight_style : Style ,
53
- /// Show the selections from certain prompts inline
54
- pub inline_selections : bool ,
55
53
}
56
54
57
55
impl Default for ColorfulTheme {
@@ -79,7 +77,6 @@ impl Default for ColorfulTheme {
79
77
fuzzy_cursor_style : Style :: new ( ) . for_stderr ( ) . black ( ) . on_white ( ) ,
80
78
#[ cfg( feature = "fuzzy-select" ) ]
81
79
fuzzy_match_highlight_style : Style :: new ( ) . for_stderr ( ) . bold ( ) ,
82
- inline_selections : true ,
83
80
}
84
81
}
85
82
}
@@ -260,15 +257,13 @@ impl Theme for ColorfulTheme {
260
257
261
258
write ! ( f, "{} " , & self . success_suffix) ?;
262
259
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
+ ) ?;
272
267
}
273
268
274
269
Ok ( ( ) )
0 commit comments