hannesm / jackline

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

Add color to received messages #47

Closed cfcs closed 9 years ago

cfcs commented 9 years ago

This colors received messages light blue, making it easier to tell received messages apart from your own. I kept the tag type "open" so as to allow for other kinds of trickery -- ignoring the repeated "away -> away" presence updates sent by Pidgin is one example use that springs to mind.

hannesm commented 9 years ago

that's certainly sth to be defined in a user config, since taste of such coloring is different (esp when people use light/dark bg)

hannesm commented 9 years ago

thanks! I manually merged this and changed it slightly (https://github.com/hannesm/jackline/commit/d3c978f62a1cc879b69129784a3775e3922d4727)