1
0
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:
abhinavcool42
2025-10-30 18:42:35 +05:30
parent a8140f91cc
commit 1852dea96a
2 changed files with 12 additions and 9 deletions
+1
View File
@@ -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)?;