diff --git a/attachment_image.go b/attachment_image.go index fcf46dc..84f257f 100644 --- a/attachment_image.go +++ b/attachment_image.go @@ -49,6 +49,7 @@ func newAttachmentImage(a discord.Attachment) (*AttachmentImage, error) { func (ai *AttachmentImage) onInputCapture(event *tcell.EventKey) *tcell.EventKey { if event.Name() == cfg.Keys.Cancel { app.SetRoot(mainFlex, true) + app.SetFocus(messagesText) return nil }