hannesm / jackline

minimalistic secure XMPP client in OCaml
BSD 2-Clause "Simplified" License
250 stars 20 forks source link

Feature: Clear all notifications #146

Open sternenseemann opened 7 years ago

sternenseemann commented 7 years ago

I am not sure, which would be the best way to implement this, I guess a command is a good idea.

Any opinions on this? I would try to implement this as well :)

hannesm commented 7 years ago

i don't have a real need for that, but if you, yes, a command might be convenient for this..

sternenseemann commented 7 years ago

What do you think, a major command, say /notifications, and a subcommand clearall?

I don't know what other subcommands could be useful though.

hannesm commented 7 years ago

me neither. /clear is already used for messages (and according to #141 there should be some /clearall). maybe /readall or sth along those lines? in the end, naming is hard.

sternenseemann commented 7 years ago

/markallasread is pretty clumsy, so I guess /readall is nice.

cfcs commented 7 years ago

Alternatively you can use ctrl-q to get rid of them one at a time (faster than typing /readall).