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

Method GetInput

ui/fullscreen_backend.go:137–150  ·  view source on GitHub ↗
(state any)

Source from the content-addressed store, hash-verified

135}
136
137func (b *FullscreenRendererBackend) GetInput(state any) (string, bool) {
138 b.PrepareRuntime()
139 b.InputEnabled = true
140 b.InputMode = "normal"
141 b.InputPlaceholder = "请输入消息并回车。"
142 b.PendingInput = true
143 b.StatusText = b.formatIdleStatus(state)
144 b.refreshControls()
145 defer func() {
146 b.PendingInput = false
147 b.refreshControls()
148 }()
149 return b.readFullscreenText()
150}
151
152func (b *FullscreenRendererBackend) ResetForNewSession() {
153 b.TranscriptChunks = nil

Calls 4

PrepareRuntimeMethod · 0.95
formatIdleStatusMethod · 0.95
refreshControlsMethod · 0.95
readFullscreenTextMethod · 0.95