diff options
| author | Grail Finder <wohilas@gmail.com> | 2026-03-05 11:36:35 +0300 |
|---|---|---|
| committer | Grail Finder <wohilas@gmail.com> | 2026-03-05 11:36:35 +0300 |
| commit | c65c11bcfbc563611743d02039420533bcfe9d05 (patch) | |
| tree | 1c8bb647c37442cda3945626914a202725b76f51 /tui.go | |
| parent | 04f1fd464bf9bfcb80ea1e0cf0f1ca88091a5713 (diff) | |
Fix: shellmode tab completion
Diffstat (limited to 'tui.go')
| -rw-r--r-- | tui.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -273,7 +273,7 @@ func init() { shellHistoryPos = -1 } // Handle Tab key for @ file completion - if event.Key() == tcell.KeyTab { + if event.Key() == tcell.KeyTab && shellMode { currentText := shellInput.GetText() atIndex := strings.LastIndex(currentText, "@") if atIndex >= 0 { @@ -1151,7 +1151,7 @@ func init() { chatRoundChan <- &models.ChatRoundReq{Role: persona, UserMsg: msgText} return nil } - if event.Key() == tcell.KeyTab { + if event.Key() == tcell.KeyTab && !shellMode { currentF := app.GetFocus() if currentF == textArea { currentText := textArea.GetText() |
