diff options
| author | Grail Finder <wohilas@gmail.com> | 2025-11-28 14:29:52 +0300 |
|---|---|---|
| committer | Grail Finder <wohilas@gmail.com> | 2025-11-28 14:29:52 +0300 |
| commit | 860160ea0e4d940eee43da8f20538293612093a5 (patch) | |
| tree | 754ebf42161561c513651a51af53d98fe9fa9f2d /helpfuncs.go | |
| parent | f5aab322afbf337d797a62f24cf85ef7766a96bb (diff) | |
Feat: shell mode
Diffstat (limited to 'helpfuncs.go')
| -rw-r--r-- | helpfuncs.go | 11 |
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 } |
