Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ChrisFeldmeier/OpenCodeRust
/ default
Method
default
crates/opencode-tui/src/components/dialogs/confirm.rs:128–130 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
126
127
impl Default for ConfirmDialog {
128
fn default() -> Self {
129
Self::new(
"Confirm"
,
"Are you sure?"
)
130
}
131
}
132
133
fn centered_rect(width: u16, height: u16, area: Rect) -> Rect {
Callers
nothing calls this directly
Calls
1
new
Function · 0.85
Tested by
no test coverage detected