From 6ef0ad3b5b23aa07e3da2c7932f17b1a346bbd3f Mon Sep 17 00:00:00 2001 From: Slug-Boi Date: Fri, 1 Nov 2024 09:13:00 +0100 Subject: [PATCH] refactor: fix email formatting of users printout using glamour --- src/cmd/tui/tui_show_users.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/cmd/tui/tui_show_users.go b/src/cmd/tui/tui_show_users.go index 3a7b26b..7269d43 100644 --- a/src/cmd/tui/tui_show_users.go +++ b/src/cmd/tui/tui_show_users.go @@ -108,8 +108,9 @@ func loadData(author_file string) { cnt.WriteString(header + "\n") for scanner.Scan() { - //very hacky it basically just ensure glamour doesn't format the email - cnt.WriteString(":\b" + scanner.Text() + "\n") + //very hacky it basically just ensure glamour doesn't format the email whole line as an email + // if only the styling had options for what to format grrrrrrr + cnt.WriteString("‎" + scanner.Text() + "\n") } content = cnt.String()