MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / draw_edit_overlay

Function draw_edit_overlay

crates/openshell-tui/src/ui/sandbox_settings.rs:125–135  ·  view source on GitHub ↗
(
    frame: &mut Frame<'_>,
    app: &App,
    edit: &crate::app::SettingEditState,
    area: Rect,
)

Source from the content-addressed store, hash-verified

123}
124
125fn draw_edit_overlay(
126 frame: &mut Frame<'_>,
127 app: &App,
128 edit: &crate::app::SettingEditState,
129 area: Rect,
130) {
131 let Some(entry) = app.sandbox_settings.get(edit.index) else {
132 return;
133 };
134 super::draw_setting_edit_overlay(frame, &entry.key, entry.kind, edit, area, &app.theme);
135}
136
137fn draw_confirm_set(frame: &mut Frame<'_>, app: &App, idx: usize, area: Rect) {
138 let t = &app.theme;

Callers 1

drawFunction · 0.70

Calls 2

getMethod · 0.45

Tested by

no test coverage detected