feat: add toggleable buffer word wrap

This commit is contained in:
2026-10-11 15:55:52 +02:00
parent 2e05725a38
commit 1f625a69c4
9 changed files with 1199 additions and 97 deletions
+2
View File
@@ -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,