mirror of
https://github.com/sharkdp/bat
synced 2026-08-02 18:41:42 +00:00
Fix --list-themes pager init so less stays interactive
This commit is contained in:
@@ -205,6 +205,7 @@ pub fn list_themes(
|
||||
style.insert(StyleComponent::Plain);
|
||||
config.language = Some("Rust");
|
||||
config.style_components = StyleComponents(style);
|
||||
config.paging_mode = PagingMode::Always;
|
||||
|
||||
let mut output_type =
|
||||
OutputType::from_mode(config.paging_mode, config.wrapping_mode, config.pager)?;
|
||||
|
||||
Reference in New Issue
Block a user