mirror of
https://github.com/sharkdp/bat
synced 2026-08-08 19:41:45 +00:00
Added line wrapping.
This commit is contained in:
@@ -13,6 +13,11 @@ pub enum OutputComponent {
|
||||
Plain,
|
||||
}
|
||||
|
||||
#[derive(Debug, Eq, PartialEq, Copy, Clone, Hash)]
|
||||
pub enum OutputWrap {
|
||||
Character
|
||||
}
|
||||
|
||||
impl OutputComponent {
|
||||
pub fn components(&self, interactive_terminal: bool) -> &'static [OutputComponent] {
|
||||
match *self {
|
||||
|
||||
Reference in New Issue
Block a user