mirror of
https://github.com/gitui-org/gitui
synced 2026-05-24 09:28:21 +00:00
revert workaround (fixes #26)
This commit is contained in:
parent
9d28dcfc66
commit
13979c1013
2 changed files with 2 additions and 4 deletions
|
|
@ -348,8 +348,7 @@ impl Component for ChangesComponent {
|
|||
}
|
||||
true
|
||||
}
|
||||
keys::STATUS_RESET_FILE_1
|
||||
| keys::STATUS_RESET_FILE_2 => {
|
||||
keys::STATUS_RESET_FILE => {
|
||||
self.is_working_dir
|
||||
&& self.dispatch_reset_workdir()
|
||||
}
|
||||
|
|
|
|||
|
|
@ -30,6 +30,5 @@ pub const MOVE_RIGHT: KeyEvent = no_mod(KeyCode::Right);
|
|||
pub const MOVE_UP: KeyEvent = no_mod(KeyCode::Up);
|
||||
pub const MOVE_DOWN: KeyEvent = no_mod(KeyCode::Down);
|
||||
pub const STATUS_STAGE_FILE: KeyEvent = no_mod(KeyCode::Enter);
|
||||
pub const STATUS_RESET_FILE_1: KeyEvent = no_mod(KeyCode::Char('D'));
|
||||
pub const STATUS_RESET_FILE_2: KeyEvent =
|
||||
pub const STATUS_RESET_FILE: KeyEvent =
|
||||
with_mod(KeyCode::Char('D'), KeyModifiers::SHIFT);
|
||||
|
|
|
|||
Loading…
Reference in a new issue