feat: add toggleable buffer word wrap
This commit is contained in:
@@ -182,6 +182,7 @@ enum RequestKind {
|
||||
pub struct DiffState {
|
||||
pub catalog: Option<Catalog>,
|
||||
pub phase: Phase,
|
||||
pub word_wrap: bool,
|
||||
pub before: Option<Revision>,
|
||||
pub after: Option<Revision>,
|
||||
pub category: usize,
|
||||
@@ -222,6 +223,7 @@ impl DiffState {
|
||||
Self {
|
||||
catalog: None,
|
||||
phase: Phase::Before,
|
||||
word_wrap: false,
|
||||
before: None,
|
||||
after: None,
|
||||
category: 0,
|
||||
|
||||
Reference in New Issue
Block a user