Feat: shell mode

This commit is contained in:
Grail Finder
2025-11-28 14:29:52 +03:00
parent f5aab322af
commit 860160ea0e
3 changed files with 155 additions and 34 deletions

View File

@@ -209,8 +209,17 @@ func makeStatusLine() string {
} else {
imageInfo = ""
}
// Add shell mode status to status line
var shellModeInfo string
if shellMode {
shellModeInfo = " | [green:-:b]SHELL MODE[-:-:-]"
} else {
shellModeInfo = ""
}
statusLine := fmt.Sprintf(indexLineCompletion, botRespMode, cfg.AssistantRole, activeChatName,
cfg.ToolUse, chatBody.Model, cfg.SkipLLMResp, cfg.CurrentAPI, cfg.ThinkUse, logLevel.Level(),
isRecording, persona, botPersona, injectRole)
return statusLine + imageInfo
return statusLine + imageInfo + shellModeInfo
}