Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ChrisFeldmeier/OpenCodeRust
/ new
Method
new
crates/opencode-tui/src/components/dialogs/status.rs:77–82 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
75
76
impl StatusDialog {
77
pub fn new() -> Self {
78
Self {
79
lines: Vec::new(),
80
open: false,
81
}
82
}
83
84
pub fn set_lines(&mut self, lines: Vec<String>) {
85
self.lines = lines.into_iter().map(StatusLine::normal).collect();
Callers
nothing calls this directly
Calls
1
new
Function · 0.85
Tested by
no test coverage detected