Skip to content

Commit 325cda9

Browse files
author
Stephan Dilly
committed
Merge branch 'master' into commit-details-#80
2 parents 64ef1ca + a2e9997 commit 325cda9

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

Diff for: CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1616

1717
### Fixed
1818
- app closes when staging invalid file/path ([#108](https://github.com/extrawurst/gitui/issues/108))
19+
- `shift+tab` not working on windows [[@MCord](https://github.com/MCord)] ([#111](https://github.com/extrawurst/gitui/issues/111))
1920

2021
## [0.5.0] - 2020-06-01
2122

Diff for: src/app.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,8 @@ impl App {
129129
self.toggle_tabs(false)?;
130130
NeedsUpdate::COMMANDS
131131
}
132-
keys::TAB_TOGGLE_REVERSE => {
132+
keys::TAB_TOGGLE_REVERSE
133+
| keys::TAB_TOGGLE_REVERSE_WINDOWS => {
133134
self.toggle_tabs(true)?;
134135
NeedsUpdate::COMMANDS
135136
}

Diff for: src/keys.rs

+3
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ pub const TAB_3: KeyEvent = no_mod(KeyCode::Char('3'));
2020
pub const TAB_4: KeyEvent = no_mod(KeyCode::Char('4'));
2121
pub const TAB_TOGGLE: KeyEvent = no_mod(KeyCode::Tab);
2222
pub const TAB_TOGGLE_REVERSE: KeyEvent = no_mod(KeyCode::BackTab);
23+
//TODO: https://github.com/extrawurst/gitui/issues/112
24+
pub const TAB_TOGGLE_REVERSE_WINDOWS: KeyEvent =
25+
with_mod(KeyCode::BackTab, KeyModifiers::SHIFT);
2326
pub const FOCUS_WORKDIR: KeyEvent = no_mod(KeyCode::Char('w'));
2427
pub const FOCUS_STAGE: KeyEvent = no_mod(KeyCode::Char('s'));
2528
pub const FOCUS_RIGHT: KeyEvent = no_mod(KeyCode::Right);

0 commit comments

Comments
 (0)