mirror of
https://github.com/sharkdp/bat.git
synced 2025-11-01 07:32:01 +00:00
Add a "builtin" pager using the Minus crate
This commit is contained in:
committed by
Academician
parent
929669728c
commit
a470cebf32
@@ -33,7 +33,7 @@ minimal-application = [
|
||||
"wild",
|
||||
]
|
||||
git = ["git2"] # Support indicating git modifications
|
||||
paging = ["shell-words", "grep-cli"] # Support applying a pager on the output
|
||||
paging = [ "shell-words", "grep-cli", "minus"] # Support applying a pager on the output
|
||||
lessopen = ["execute"] # Support $LESSOPEN preprocessor
|
||||
build-assets = ["syntect/yaml-load", "syntect/plist-load", "regex", "walkdir"]
|
||||
|
||||
@@ -52,6 +52,10 @@ thiserror = "2.0"
|
||||
wild = { version = "2.2", optional = true }
|
||||
content_inspector = "0.2.4"
|
||||
shell-words = { version = "1.1.0", optional = true }
|
||||
minus = { version = "5.6", optional = true, features = [
|
||||
"dynamic_output",
|
||||
"search",
|
||||
] }
|
||||
unicode-width = "0.2.1"
|
||||
globset = "0.4"
|
||||
serde = "1.0"
|
||||
|
||||
Reference in New Issue
Block a user