#1007130 dwdiff: should support wdiff's --avoid-wraps for coloring with "less"

Package:
dwdiff
Source:
dwdiff
Description:
diff program that operates word by word
Submitter:
Vincent Lefevre
Date:
2026-01-10 11:39:49 UTC
Severity:
wishlist
Tags:
#1007130#5
Date:
2022-03-11 17:57:16 UTC
From:
To:
Contrary to wdiff --avoid-wraps, dwdiff extends delete/insert fields
to newlines. So, when using coloring[*], "less" cannot be used as a
pager (and I'm not aware of any pager that would work).

[*] e.g.
  dwdiff -w $'\033[30;41m' -x $'\033[0m' -y $'\033[30;42m' -z $'\033[0m'

Note that with this example, this may also give incorrect background
coloring, but wdiff has the same issue, and I think that this is due
to terminal ugliness ("less" avoids that, fortunately).

#1007130#10
Date:
2026-01-10 10:08:19 UTC
From:
To:
Es gibt eine Familienspende in Höhe von 1.850.000,00 USD von Cheng Charlie
Saephan. Bitte antworten Sie für weitere Informationen. Denken Sie daran,
Ihrer Familie und den Bedürftigen in Ihrer Umgebung Gutes zu tun.

Dies ist bereits der zweite Versuch, Sie zu erreichen. Bitte antworten Sie
für weitere Details.