2 assets::HighlightingAssets,
3 controller::Controller,
5 style::{OutputComponent, OutputComponents},
12 let files = std::env::args_os().skip(1).collect::<Vec<_>>();
15 eprintln!("No input files specified");
20 term_width: Term::stdout().size().1 as usize,
23 output_components: OutputComponents::new(&[
24 OutputComponent::Header,
25 OutputComponent::Grid,
26 OutputComponent::Numbers,
28 files: files.iter().map(|file| InputFile::Ordinary(file)).collect(),
32 let assets = HighlightingAssets::new();
34 Controller::new(&config, &assets).run().expect("no errors");
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list