Today I learnt that clippy doesn't run on your tests by default! `cargo clippy --all-targets` will make lots of additional useful suggestions on your Rust code.
Today I learnt about crossterm, a Rust crate for interacting with terminals in a cross-platform way: https://docs.rs/crossterm/latest/crossterm/
It handles things like is_tty() and terminal::size(), which are hard to support correctly in both Linux and Windows. I might port difftastic.