difftastic/src
Wilfred Hughes edb839c803 Improve terminal width detection
Ensure the value is always non-zero, and consider $COLUMNS if
crossterm does not succeed.

Fixes #707
2024-05-10 16:26:48 +07:00
..
diff Prefer .to_owned() on &str 2024-05-07 08:32:30 +07:00
display Prefer 'terminal' over 'display' terminology 2024-05-10 15:53:40 +07:00
parse Lint against .to_string() on String 2024-05-07 08:39:07 +07:00
conflicts.rs Use pub(crate) everywhere for visibility 2023-11-18 16:46:13 +07:00
constants.rs Use pub(crate) everywhere for visibility 2023-11-18 16:46:13 +07:00
exit_codes.rs Use pub(crate) everywhere for visibility 2023-11-18 16:46:13 +07:00
files.rs Prefer .to_owned() on &str 2024-05-07 08:32:30 +07:00
hash.rs Use pub(crate) everywhere for visibility 2023-11-18 16:46:13 +07:00
line_parser.rs Fix issue with later lines not having positions during diffing 2024-03-19 00:25:18 +07:00
lines.rs Fix typo 2024-05-07 08:50:54 +07:00
main.rs Lint against .to_string() on String 2024-05-07 08:39:07 +07:00
options.rs Improve terminal width detection 2024-05-10 16:26:48 +07:00
summary.rs Use pub(crate) everywhere for visibility 2023-11-18 16:46:13 +07:00
version.rs Include rustc version in --version output 2023-11-28 13:07:33 +07:00
words.rs Avoid `res` locals in favour of more meaningful names 2023-11-28 13:27:27 +07:00