summary refs log tree commit diff
path: root/bin
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-05-27 20:59:30 -0400
committerJune McEnroe <june@causal.agency>2019-05-27 20:59:30 -0400
commit9bcf7f8cf6853f1e4d061d647fd0cc570c80c250 (patch)
treee453e6f02a5afcb7c2a3f8ef77a75424673a1edd /bin
parentAdd Dawn (diff)
downloadsrc-9bcf7f8cf6853f1e4d061d647fd0cc570c80c250.tar.gz
src-9bcf7f8cf6853f1e4d061d647fd0cc570c80c250.zip
Break nicks with ZWNJ
This should prevent bad wrapping.
Diffstat (limited to 'bin')
-rw-r--r--bin/relay.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/relay.c b/bin/relay.c
index caf9062f..93330314 100644
--- a/bin/relay.c
+++ b/bin/relay.c
@@ -79,11 +79,11 @@ static void clientHandle(struct tls *client, const char *chan, char *line) {
 	if (!strncmp(line, "\1ACTION ", 8)) {
 		line = &line[8];
 		size_t len = strcspn(line, "\1");
-		printf("* %c\u200B%s %.*s\n", nick[0], &nick[1], (int)len, line);
+		printf("* %c\u200C%s %.*s\n", nick[0], &nick[1], (int)len, line);
 	} else if (command[0] == 'N') {
-		printf("-%c\u200B%s- %s\n", nick[0], &nick[1], line);
+		printf("-%c\u200C%s- %s\n", nick[0], &nick[1], line);
 	} else {
-		printf("<%c\u200B%s> %s\n", nick[0], &nick[1], line);
+		printf("<%c\u200C%s> %s\n", nick[0], &nick[1], line);
 	}
 }
 
an title='2019-01-13 18:50:45 -0500'>2019-01-13Add PS0June McEnroe 2019-01-13Change default ENV from cashrc to env.shJune McEnroe 2019-01-13Use colours in cash promptsJune McEnroe 2019-01-12Set PSlit like NetBSD shJune McEnroe 2019-01-12Install gnupg2 from pkgsrc and symlink gpgJune McEnroe 2019-01-12Reference cash builtin man pages in cash.1 SEE ALSOJune McEnroe 2019-01-12Restore cash builtin man page datesJune McEnroe 2019-01-12Use local libeditJune McEnroe 2019-01-12Replace libedit MakefileJune McEnroe 2019-01-11Import /usr/src/lib/libedit from NetBSD 8.0June McEnroe 2019-01-11Add PSlit for prompt escapesJune McEnroe 2019-01-11Don't make depend automaticallyJune McEnroe