A hotkey for editing the last message (Windows)

I suggest the “Up” key in an empty input field. By analogy with Telegram and WhatsApp. This is really missing.

1 Like

it is planned and we already have an issue for it: ArrowUp key in composer should open edit message for last sent message · Issue #4820 · deltachat/deltachat-desktop · GitHub

Nonetheless thanks for making the feature proposal, I’ll link to it from the issue.

I’m glad this is in the offing, when I talk to bots I find myself using command-line UI elements, and up-arrow keeps not working. :slight_smile:

not sure if the bots you talk to care about edits you make to your messages, but that’s a different topic. (the bot developers would need to specially handle edits and that is not that easy currently, so I doubt that the majority of bots handles this case)

Huh, yeah, I did not think that through. When I type “/hlep” instead of “/help”, if I arrow-up and edit it, the bot will get the edit e-mail and probably won’t process the amended version as a new message with a new command. Certainly running variants of a command in succession as at a terminal prompt won’t just work.

I will probably still thoughtlessly try to treat as bot’s command prompt as though it follows standard shell interface rules. Habit.

I am really skeptical about the arrow-up, thing, I find myself pressing arrow-up by accident in my laptop (that has there arrow keys packed together closely) quite often, this cause me already to accidentally change quoted message if I was pressing control at the same time to move from word to word, I think it would be better if arrow-up just changes the focus to the messages list, once you are focusing the last message, you could press e to edit and r to reply, this also gives the flexibility that you can then keep pressing arrow-up to navigate/focus/select an older message you want to edit, not just the latest one

You cannot use “e” or “r” without the “Ctrl” key, i.e. it will conflict with the text input of the message. If someone doesn’t like the “Up” key, do “Shift+Up”.
All this can be changed via AutoHotkey. The main thing was to have any hotkey to edit the message.