toxic icon indicating copy to clipboard operation
toxic copied to clipboard

Re-colorizing history

Open moorchegue opened this issue 6 years ago • 2 comments

It's lovely how toxic colorizes commands and messages. Now when you close and reopen a message window it'll display the history of your chat with that person (loading it from a log file I presume).

Would it be possible to additionally parse and re-colorize it so it would look the same or about the same? It would be very helpful for users who for one reason or another close their message windows or quit the app often to have that nice feeling of things reappearing just the way they've left them.

moorchegue avatar Jul 27 '18 04:07 moorchegue

Unfortunately there is no easy way to do this, as the metadata used for colourizing isn't logged. It would be possible, but the entire logging implementation would need an overhaul.

JFreegman avatar Oct 04 '18 16:10 JFreegman

Why not heuristically recolorize the log? The format looks rather easy to colorize again, even bat generically colors the logfile ^^

xeruf avatar Jan 25 '22 23:01 xeruf

Done. Will be in the next release.

JFreegman avatar Feb 28 '24 22:02 JFreegman