From: nicm Date: Thu, 12 Aug 2021 20:46:30 +0000 (+0000) Subject: Make newline a style delimiter as well so they can cross multiple lines X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=7ec7a9258113c7622c726dd55cd62b5b8423dab9;p=openbsd Make newline a style delimiter as well so they can cross multiple lines for readability. --- diff --git a/usr.bin/tmux/style.c b/usr.bin/tmux/style.c index a0a34c07ef5..609872d6966 100644 --- a/usr.bin/tmux/style.c +++ b/usr.bin/tmux/style.c @@ -1,4 +1,4 @@ -/* $OpenBSD: style.c,v 1.29 2021/03/11 06:41:04 nicm Exp $ */ +/* $OpenBSD: style.c,v 1.30 2021/08/12 20:46:30 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -51,7 +51,7 @@ int style_parse(struct style *sy, const struct grid_cell *base, const char *in) { struct style saved; - const char delimiters[] = " ,", *cp; + const char delimiters[] = " ,\n", *cp; char tmp[256], *found; int value; size_t end;