mirror of
https://github.com/sharkdp/bat.git
synced 2025-09-06 13:22:23 +01: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