(ctx: &Context)
| 104 | const CHANGE_BASE_SHORTCUT: KeyboardShortcut = KeyboardShortcut::new(Modifiers::CTRL, Key::B); |
| 105 | |
| 106 | pub fn consume_change_base_shortcut(ctx: &Context) -> bool { |
| 107 | ctx.input_mut(|i| i.consume_shortcut(&CHANGE_BASE_SHORTCUT)) |
| 108 | } |
| 109 | |
| 110 | const PREV_DIFF_SHORTCUT: KeyboardShortcut = KeyboardShortcut::new(Modifiers::CTRL, Key::ArrowUp); |
| 111 |