From 3249efc279ab8cdc6dcc96793baffe809e2b492d Mon Sep 17 00:00:00 2001 From: Stephen Brandt Date: Fri, 20 Dec 2024 17:18:59 +0100 Subject: [PATCH] Use verbatim string syntax for multiline demo output --- src/network.vala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/network.vala b/src/network.vala index bed87728..ee39426f 100644 --- a/src/network.vala +++ b/src/network.vala @@ -166,13 +166,13 @@ namespace Haguichi { string output; if (demo_mode) { - output = " + output = """ id : %s name : %s type : Mesh owner : This computer status : unlocked -approve : auto".printf (id, name); +approve : auto""".printf (id, name); } else { output = Command.return_output ("hamachi network \"%s\"".printf (Utils.clean_string (id))); }