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

Method formatInputMeta

ui/fullscreen_backend.go:845–859  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

843}
844
845func (b *FullscreenRendererBackend) formatInputMeta() string {
846 if b.PendingSelection {
847 return "选择输入:" + firstNonEmpty(b.InputPlaceholder, "请输入编号并回车。")
848 }
849 if b.PendingPermission {
850 return "权限输入:" + firstNonEmpty(b.InputPlaceholder, "请输入 y / a / n。")
851 }
852 if b.PendingInput {
853 return "输入就绪:" + firstNonEmpty(b.InputPlaceholder, "请输入消息并回车。")
854 }
855 if !b.InputEnabled {
856 return "输入已锁定:" + firstNonEmpty(b.InputPlaceholder, "正在等待代理继续执行。")
857 }
858 return "输入就绪:" + firstNonEmpty(b.InputPlaceholder, "请输入消息并回车。")
859}
860
861func (b *FullscreenRendererBackend) formatStatus(frame RenderFrame) string {
862 if b.ActiveModalState != nil {

Callers 1

refreshControlsMethod · 0.95

Calls 1

firstNonEmptyFunction · 0.70

Tested by

no test coverage detected