From fcd632729787b181eb3ec3d2bd839ed2395f1e90 Mon Sep 17 00:00:00 2001 From: Daniel EklΓΆf Date: Thu, 24 Jun 2021 11:24:30 +0200 Subject: term: bump compose chain char array to 10 chars MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit There are some very long sequences out there... e.g. πŸ‘©πŸΌβ€β€οΈβ€πŸ’‹β€πŸ‘¨πŸ½ --- terminal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terminal.h b/terminal.h index 307e2b0b..c9f5aee8 100644 --- a/terminal.h +++ b/terminal.h @@ -85,7 +85,7 @@ struct damage { }; struct composed { - wchar_t chars[7]; + wchar_t chars[10]; uint8_t count; int width; }; -- cgit v1.3