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

Function footer

crates/opencode-tui/src/ui/layout.rs:39–45  ·  view source on GitHub ↗
(area: Rect, height: u16)

Source from the content-addressed store, hash-verified

37}
38
39pub fn footer(area: Rect, height: u16) -> Rect {
40 let layout = Layout::default()
41 .direction(Direction::Vertical)
42 .constraints([Constraint::Min(0), Constraint::Length(height)])
43 .split(area);
44 layout[1]
45}
46
47pub fn header(area: Rect, height: u16) -> Rect {
48 let layout = Layout::default()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected