summaryrefslogtreecommitdiff
path: root/tables.go
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2025-11-21 08:23:14 +0300
committerGrail Finder <wohilas@gmail.com>2025-11-21 08:23:14 +0300
commitdc1d1eba0c6a7fa55e336c10c6e53046a75473ae (patch)
treea8390b8c8f72f8d55718c6231bc3dea93a07b8df /tables.go
parente8413ce613a71b6ec0b62b928a1179738655b49b (diff)
Fix: show last attached img on ctrl+j
Diffstat (limited to 'tables.go')
-rw-r--r--tables.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tables.go b/tables.go
index 3e58e72..46faec3 100644
--- a/tables.go
+++ b/tables.go
@@ -838,7 +838,7 @@ func makeFilePicker() *tview.Flex {
// For image files, set it as an attachment for the next LLM message
// Use the version without UI updates to avoid hangs in event handlers
logger.Info("setting image", "file", itemText)
- SetImageAttachmentWithoutUI(filePath)
+ SetImageAttachment(filePath)
logger.Info("after setting image", "file", itemText)
statusView.SetText("Image attached: " + filePath + " (will be sent with next message)")
logger.Info("after setting text", "file", itemText)