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

Method new

crates/opencode-tui/src/ui/selection.rs:22–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20
21impl Selection {
22 pub fn new() -> Self {
23 Self {
24 anchor: None,
25 cursor: None,
26 dragging: false,
27 }
28 }
29
30 /// Begin a new selection at (row, col).
31 pub fn start(&mut self, row: u16, col: u16) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected