From af0e0ab55ebe4a68d9d72ab4ae718a9f3898c0c4 Mon Sep 17 00:00:00 2001 From: Ben Morrison Date: Fri, 3 Apr 2020 03:09:33 -0400 Subject: using 200c instead of 200b for zero-width character --- main.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.go b/main.go index 5b8e0fb..46b3be5 100644 --- a/main.go +++ b/main.go @@ -16,8 +16,8 @@ import ( "github.com/lrstanley/girc" ) -// ZWSP is a zero-width space -const ZWSP = string(0x200b) +// ZW is a zero-width character +const ZW = string(0x200c) // Conf holds all the config info type Conf struct { @@ -169,7 +169,7 @@ func main() { continue } - c := fmt.Sprintf("%s%s", ZWSP, split[i]) + c := fmt.Sprintf("%s%s", ZW, split[i]) out.WriteString(c + " ") } -- cgit 1.4.1-2-gfad0