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

Function consume_change_target_shortcut

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

Source from the content-addressed store, hash-verified

98const CHANGE_TARGET_SHORTCUT: KeyboardShortcut = KeyboardShortcut::new(Modifiers::CTRL, Key::T);
99
100pub fn consume_change_target_shortcut(ctx: &Context) -> bool {
101 ctx.input_mut(|i| i.consume_shortcut(&CHANGE_TARGET_SHORTCUT))
102}
103
104const CHANGE_BASE_SHORTCUT: KeyboardShortcut = KeyboardShortcut::new(Modifiers::CTRL, Key::B);
105

Callers 1

diff_view_uiFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected