From c95c162335d6fc7bcb63f50e11eb9099965868f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=83=9E=E3=83=AA=E3=82=A6=E3=82=B9?= Date: Sun, 4 Apr 2021 19:34:02 -0500 Subject: [PATCH] Added symbols --- tui/toot.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tui/toot.go b/tui/toot.go index bd5a30b..614284f 100644 --- a/tui/toot.go +++ b/tui/toot.go @@ -55,11 +55,11 @@ func RenderToot(toot *mast.Toot, width int, showImages bool) (string, error) { // https://docs.joinmastodon.org/entities/notification/#type switch notification.Type { case "follow": - notificationText = fmt.Sprintf("[red]%s followed you[-]", + notificationText = fmt.Sprintf("[red]\xe2\x98\xba\xef\xb8\x8e %s followed you[-]", notificationAccount, ) case "follow_request": - notificationText = fmt.Sprintf("[blue]%s requested to follow you[-]", + notificationText = fmt.Sprintf("[blue]\xe2\x98\x95 %s requested to follow you[-]", notificationAccount, ) case "mention": @@ -75,11 +75,11 @@ func RenderToot(toot *mast.Toot, width int, showImages bool) (string, error) { notificationAccount, ) case "poll": - notificationText = fmt.Sprintf("[grey]A poll by %s has ended[-]", + notificationText = fmt.Sprintf("[grey]\xe2\x9c\x8e A poll by %s has ended[-]", notificationAccount, ) case "status": - notificationText = fmt.Sprintf("[grey]%s posted a toot[-]", + notificationText = fmt.Sprintf("[grey]\xe2\x9c\x8c\xef\xb8\x8e %s posted a toot[-]", notificationAccount, ) }