@@ -130,12 +130,11 @@ pub fn list_languages(assets: &HighlightingAssets, term_width: usize) {
130130
131131pub fn list_themes(assets: &HighlightingAssets, config: &mut Config) {
132132 let themes = &assets.theme_set.themes;
133+ config.files = vec![Some("assets/hello.rs")];
133134 for (theme, _) in themes.iter() {
134135 println!("{}", theme);
135136 config.theme = theme.to_string();
136− config.files = vec![Some("assets/hello.rs")];
137− let controller = Controller::new(&config, &assets);
138− let _res = controller.run();
137+ let _controller = Controller::new(&config, &assets).run();
139138 }
140139}
141140