d99kris / nchat

Terminal-based Telegram / WhatsApp client for Linux and macOS
MIT License
538 stars 41 forks source link

[Feature Request] Add support for editing messages #75

Closed hrueschwein closed 1 year ago

hrueschwein commented 1 year ago

I didn't found any hotkey in --help that allows to edit selected message. it's really important feature, though ;)

d99kris commented 1 year ago

Hi, nchat does not currently support editing messages.

This request has come up before though (in the https://t.me/nchatusers group IIRC), so maybe I'll check if it's simple to add.

d99kris commented 1 year ago

Telegram support for editing messages has been added in above commit.

Use key up/down to select message, and then press ctrl-z to start edit. Then ctrl-x saves the edit and ctrl-c cancels the edit. Note that only messages sent within last 48 hours is allowed to be edited.