diff options
author | Tim Oram <dev@mitmaro.ca> | 2019-02-16 23:48:57 -0330 |
---|---|---|
committer | Tim Oram <dev@mitmaro.ca> | 2019-03-16 22:54:21 -0230 |
commit | 166a8bc53895a340625c781bb5dbc2f9794a3a23 (patch) | |
tree | 36772b66c304704256044160d0154b8038e4a06b /README.md | |
parent | 9ded4718ca3a8ff0aca5f03c813bb10cbe97ba49 (diff) |
Core application rewrite
This change rewrites most of the core of the application from the ground up.
The most significant change is the handling of text overflow. Horizontally text
is truncated to fit the width of the terminal and vertical overflow is handled
with scrolling. Finally, when the terminal window gets too small a compact view
is rendered instead of the full normal view.
Previously the show commit pane would capture and parse stdout from an external
git command. Since this is slow and prone to error, this has been updated to
instead use libgit2 (using git2-rs) to retrieve information about the commit.
All functionality in the application is now handled using the internal state
machine. Initially certain functionality, such as the dialogs and shelling out
to an external editor was not using the state machine. This resulted in these
operations being inconsistent.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -147,10 +147,11 @@ git config --global interactive-rebase-tool.foregroundColor black | ------------------ | ------- | ----- | ----------- | | `autoSelectNext` | false | bool | If true, auto select the next line after action modification | | `foregroundColor` | white | Color | Color used for most text and the UI | -| `indicatorColor` | yellow | Color | Color used for text the indicates or needs to standout | +| `indicatorColor` | cyan | Color | Color used for text the indicates or needs to standout | | `errorColor` | red | Color | Color used for showing error messages | -| `diffAddColor` | green | Color | Color used for lines added in a diff | -| `diffRemoveColor` | red | Color | Color used for lines removed in a diff | +| `diffAddColor` | green | Color | Color used for lines and files added in a diff | +| `diffRemoveColor` | red | Color | Color used for lines and files removed in a diff | +| `diffChangeColor` | yellow | Color | Color used for lines and files changed in a diff | | `pickColor` | green | Color | Color used for the pick action | | `rewordColor` | yellow | Color | Color used for the reword action | | `editColor` | blue | Color | Color used for the edit action | @@ -178,7 +179,7 @@ To start developing the project you will need to [install Rust][install-rust], w You will need `build-essential` and `libncurses5-dev` to build the project. Additionally, you will need `pkg-config` and `liblzma-dev` if you wish to build a release. They can be installed using `apt-get`: - sudo apt-get install build-essential libncurses5-dev + sudo apt-get install build-essential libncursesw5-dev sudo apt-get install pkg-config liblzma-dev |