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

Method new

crates/opencode-tui/src/components/home.rs:63–65  ·  view source on GitHub ↗
(context: Arc<AppContext>)

Source from the content-addressed store, hash-verified

61
62impl HomeView {
63 pub fn new(context: Arc<AppContext>) -> Self {
64 Self { context }
65 }
66
67 pub fn render(&self, frame: &mut Frame, area: Rect) {
68 let prompt = Prompt::new(self.context.clone())

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected