MCPcopy Create free account
hub / github.com/encounter/objdiff / consume_change_base_shortcut

Function consume_change_base_shortcut

objdiff-gui/src/hotkeys.rs:106–108  ·  view source on GitHub ↗
(ctx: &Context)

Source from the content-addressed store, hash-verified

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

Callers 1

diff_view_uiFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected