summaryrefslogtreecommitdiff
path: root/helpfuncs.go
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2025-11-28 14:29:52 +0300
committerGrail Finder <wohilas@gmail.com>2025-11-28 14:29:52 +0300
commit860160ea0e4d940eee43da8f20538293612093a5 (patch)
tree754ebf42161561c513651a51af53d98fe9fa9f2d /helpfuncs.go
parentf5aab322afbf337d797a62f24cf85ef7766a96bb (diff)
Feat: shell mode
Diffstat (limited to 'helpfuncs.go')
-rw-r--r--helpfuncs.go11
1 files changed, 10 insertions, 1 deletions
diff --git a/helpfuncs.go b/helpfuncs.go
index f238cd4..d73befe 100644
--- a/helpfuncs.go
+++ b/helpfuncs.go
@@ -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
}