From 0330f4863e73dea3958a6bf9351f7d8cc0f50758 Mon Sep 17 00:00:00 2001 From: tauraamui Date: Thu, 16 Oct 2025 09:52:12 +0100 Subject: [PATCH] tidy: remove now unused function --- internal/tui/components/chat/editor/editor.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/internal/tui/components/chat/editor/editor.go b/internal/tui/components/chat/editor/editor.go index 48b11dea081f12c91bd001d2c6aafde0b402ec1d..34a3b9483e48742d2ecf515fba7a889b0a923694 100644 --- a/internal/tui/components/chat/editor/editor.go +++ b/internal/tui/components/chat/editor/editor.go @@ -240,10 +240,6 @@ func isExtOfAllowedImageType(path string) bool { type ResolveAbs func(path string) (string, error) -func onPaste(msg tea.PasteMsg) tea.Msg { - return filepicker.OnPaste(filepicker.ResolveFS, string(msg)) -} - func activeModelHasImageSupport() (bool, string) { agentCfg := config.Get().Agents["coder"] model := config.Get().GetModelByType(agentCfg.Model)