Add D keybindings in message view for delete
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
9ba845e5f4
commit
3af666978c
3 changed files with 14 additions and 1 deletions
7
msgs.go
7
msgs.go
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue