Skip to content

Commit

Permalink
support left arrow to go back grom commit details (closes #418)
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephan Dilly committed May 27, 2021
1 parent f2f6724 commit 484c7d6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## Unreleased

### Added
- support smoother left/right toggle for commit details ([#418](https://github.com/extrawurst/gitui/issues/418))
- support *force push* command [[@WizardOhio24](https://github.com/WizardOhio24)] ([#274](https://github.com/extrawurst/gitui/issues/274))
- show used char count in input texts ([#466](https://github.com/extrawurst/gitui/issues/466))

Expand Down
2 changes: 2 additions & 0 deletions src/components/inspect_commit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ impl Component for InspectCommitComponent {
{
self.details.focus(true);
self.diff.focus(false);
} else if e == self.key_config.focus_left {
self.hide();
}

// stop key event propagation
Expand Down

0 comments on commit 484c7d6

Please sign in to comment.