about summary refs log tree commit diff
path: root/chat.h
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-10-28 17:50:45 -0400
committerJune McEnroe <june@causal.agency>2021-10-28 17:56:16 -0400
commit4363d4b53505708608b1a82f8bff45d7aefe18dc (patch)
tree6e61b5432d8eba3c824a27c89d57dd4d40cb3004 /chat.h
parentFix strptime decode for musl libc (diff)
downloadcatgirl-4363d4b53505708608b1a82f8bff45d7aefe18dc.tar.gz
catgirl-4363d4b53505708608b1a82f8bff45d7aefe18dc.zip
Parse IRC formatting in timestamp string
Strip formatting when calculating the timestamp width to avoid
moving a bunch of code around. Use styleAdd (now with an initial
style parameter) to show timestamps.

This allows changing the style of the timestamps from the default
gray using literal IRC formatting codes in the string. Not ideal,
but no new options needed.

Suggested by Hoël Bézier and Sebastian LaVine.
Diffstat (limited to 'chat.h')
0 files changed, 0 insertions, 0 deletions