fastmod
fastmod copied to clipboard
Feature request: Showing N context lines in diff
I want too see more context in the diff. It would be nice to be able to specify N lines before/after, like with grep
I'm not sure when I'm going to be able to implement this, but there is a workaround available. If the crossterm crate is able to detect the size of your terminal (it claims it works on both Unix & Windows), then making your terminal window taller should show you more context:
https://github.com/facebookincubator/fastmod/blob/3e5267cec6bf7c1b5186571bdf457328d238d817/src/main.rs#L465-L468
I would also welcome a patch to add this feature.