()
| 843 | } |
| 844 | |
| 845 | func (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 | |
| 861 | func (b *FullscreenRendererBackend) formatStatus(frame RenderFrame) string { |
| 862 | if b.ActiveModalState != nil { |
no test coverage detected