File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -348,8 +348,7 @@ impl Component for ChangesComponent {
348
348
}
349
349
true
350
350
}
351
- keys:: STATUS_RESET_FILE_1
352
- | keys:: STATUS_RESET_FILE_2 => {
351
+ keys:: STATUS_RESET_FILE => {
353
352
self . is_working_dir
354
353
&& self . dispatch_reset_workdir ( )
355
354
}
Original file line number Diff line number Diff line change @@ -30,6 +30,5 @@ pub const MOVE_RIGHT: KeyEvent = no_mod(KeyCode::Right);
30
30
pub const MOVE_UP : KeyEvent = no_mod ( KeyCode :: Up ) ;
31
31
pub const MOVE_DOWN : KeyEvent = no_mod ( KeyCode :: Down ) ;
32
32
pub const STATUS_STAGE_FILE : KeyEvent = no_mod ( KeyCode :: Enter ) ;
33
- pub const STATUS_RESET_FILE_1 : KeyEvent = no_mod ( KeyCode :: Char ( 'D' ) ) ;
34
- pub const STATUS_RESET_FILE_2 : KeyEvent =
33
+ pub const STATUS_RESET_FILE : KeyEvent =
35
34
with_mod ( KeyCode :: Char ( 'D' ) , KeyModifiers :: SHIFT ) ;
You can’t perform that action at this time.
0 commit comments