Implement reply on 'r'. Resolves
MODIFY
internal/ui/window.go
internal/ui/window.go
@@ -403,6 +403,12 @@ func NewWindow(app *tview.Application, discord *discordgo.Session) (*Window, err
return nil
}
+ if event.Rune() == 'r' {
+ window.messageInput.SetText("@" + message.Author.Username + "#" + message.Author.Discriminator + " " + window.messageInput.GetText())
+ app.SetFocus(window.messageInput.GetPrimitive())
+ return nil
+ }
+
if event.Rune() == 'l' {
copyError := clipboard.WriteAll(fmt.Sprintf("<https://discordapp.com/channels/@me/%s/%s>", message.ChannelID, message.ID))
if copyError != nil {

Implement reply on 'r'. Resolves #25