Added line wrapping.

This commit is contained in:
eth-p committed 2018-05-11 21:59:26 -07:00
1 parent 22c8978fca
commit 4e4110bf50
4 files changed
+214 -85

No files matched your search

+5
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 {