MCPcopy Create free account
hub / github.com/GongShichen/LuminaCode / ShowModal

Method ShowModal

ui/fullscreen_backend.go:205–211  ·  view source on GitHub ↗
(modalState map[string]any)

Source from the content-addressed store, hash-verified

203}
204
205func (b *FullscreenRendererBackend) ShowModal(modalState map[string]any) {
206 b.ActiveModalState = cloneMap(modalState)
207 b.ModalText = FormatFullscreenModal(modalState)
208 b.FocusedPane = "modal"
209 b.StatusText = b.formatStatus(b.LastFrame)
210 b.refreshControls()
211}
212
213func (b *FullscreenRendererBackend) ClearModal() {
214 b.ActiveModalState = nil

Calls 4

formatStatusMethod · 0.95
refreshControlsMethod · 0.95
cloneMapFunction · 0.85
FormatFullscreenModalFunction · 0.85