MCPcopy Create free account
hub / github.com/ChrisFeldmeier/OpenCodeRust / ctrl

Method ctrl

crates/opencode-tui/src/context/keybind.rs:69–74  ·  view source on GitHub ↗
(code: KeyCode)

Source from the content-addressed store, hash-verified

67 }
68
69 pub fn ctrl(code: KeyCode) -> Self {
70 Self {
71 code,
72 modifiers: KeyModifiers::CONTROL,
73 }
74 }
75
76 pub fn alt(code: KeyCode) -> Self {
77 Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected