1
0
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:
eth-p
2018-05-11 21:59:26 -07:00
parent 22c8978fca
commit 4e4110bf50
4 changed files with 214 additions and 85 deletions

View File

@@ -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 {