Skip to content

Commit 6482c81

Browse files
author
Stephan Dilly
committed
support left arrow to go back grom commit details (closes #418)
1 parent 546c7f3 commit 6482c81

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88
## Unreleased
99

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

src/components/inspect_commit.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,8 @@ impl Component for InspectCommitComponent {
122122
{
123123
self.details.focus(true);
124124
self.diff.focus(false);
125+
} else if e == self.key_config.focus_left {
126+
self.hide();
125127
}
126128

127129
// stop key event propagation

0 commit comments

Comments
 (0)