Revert "feat: improve file attachment pasting (#1704)"
This reverts commit 81a3e02474.
This commit is contained in:
@@ -382,9 +382,6 @@ func (a Model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
|
||||
a.app.Messages = []app.Message{}
|
||||
case dialog.CompletionDialogCloseMsg:
|
||||
a.showCompletionDialog = false
|
||||
case chat.AttachmentInsertedMsg:
|
||||
// Close completion dialog when the editor inserts an attachment
|
||||
a.showCompletionDialog = false
|
||||
case opencode.EventListResponseEventInstallationUpdated:
|
||||
return a, toast.NewSuccessToast(
|
||||
"opencode updated to "+msg.Properties.Version+", restart to apply.",
|
||||
|
||||
Reference in New Issue
Block a user