diff --git a/README.md b/README.md index 5e3228c7..217d0210 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,12 @@ # gitterm terminal ui (tui) frontend for git written in rust -motivation +![img](assets/main.jpg) + +## motivation + +I do most of my git usage in a terminal but i frequently found myself using git UIs for some use cases like: index/commit, diff, stash and log +Over the last 2 years my go to GUI tool for this was [fork](https://git-fork.com) because it was not bloated, snappy and free. Unfortunately the *free* aspect will change soon and so I decided to build a snappy simple terminal tool # todo @@ -19,9 +24,12 @@ motivation * [ ] polling in thread * [ ] log view -# resources +# resources (quick links) * https://docs.rs/git2/ * https://libgit2.org * https://docs.rs/tui/ -* https://docs.rs/crossterm/ \ No newline at end of file +* https://docs.rs/crossterm/ + +# alternatives + diff --git a/assets/main.jpg b/assets/main.jpg new file mode 100644 index 00000000..87eb96ae Binary files /dev/null and b/assets/main.jpg differ diff --git a/src/app.rs b/src/app.rs index 56daf708..a90893f7 100644 --- a/src/app.rs +++ b/src/app.rs @@ -143,6 +143,7 @@ impl App { .block(Block::default().title("Diff [d]").borders(Borders::ALL)) .alignment(Alignment::Left) .scroll(self.offset) + .wrap(true) .render(f, chunks[1]); // commands