Add D keybindings in message view for delete

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
nemunaire 2026-03-29 19:50:09 +07:00
commit 3af666978c
3 changed files with 14 additions and 1 deletions

View file

@ -47,6 +47,13 @@ func flushQueueCmd() tea.Cmd {
}
}
func deleteMessageCmd(id string) tea.Cmd {
return func() tea.Msg {
exec.Command("postsuper", "-d", id).Run()
return nil
}
}
func requeueMessageCmd(id string) tea.Cmd {
return func() tea.Msg {
exec.Command("postsuper", "-r", id).Run()