From 31e9c6d2d57ecd6c1c73623e7e6a1f8608ec3983 Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch Date: Tue, 6 Sep 2022 14:38:09 +0200 Subject: xC/xP: pass timestamps with millisecond precision Future-proofing the protocol. --- xC.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xC.c') diff --git a/xC.c b/xC.c index 082b9fe..af2adbd 100644 --- a/xC.c +++ b/xC.c @@ -3105,7 +3105,7 @@ relay_prepare_buffer_line (struct app_context *ctx, struct buffer *buffer, e->is_unimportant = !!(line->flags & BUFFER_LINE_UNIMPORTANT); e->is_highlight = !!(line->flags & BUFFER_LINE_HIGHLIGHT); e->rendition = 1 + line->r; - e->when = line->when; + e->when = line->when * 1000; size_t len = 0; for (size_t i = 0; line->items[i].type; i++) -- cgit v1.2.3-70-g09d2