aboutsummaryrefslogtreecommitdiff
path: root/swaymsg
diff options
context:
space:
mode:
authorChristoph Gysin <christoph.gysin@gmail.com>2015-12-02 22:40:50 +0200
committerChristoph Gysin <christoph.gysin@gmail.com>2015-12-02 22:41:10 +0200
commit88368362dfec1ce5e58b8b5b004b693e5a255307 (patch)
tree506616f1c45b6d2720d8a4225b7b51065452bfe5 /swaymsg
parent7a1c8c2939c8581bb47323513b91a94aebf62b36 (diff)
swaymsg: add newline after response
Diffstat (limited to 'swaymsg')
-rw-r--r--swaymsg/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/swaymsg/main.c b/swaymsg/main.c
index f8c9e14c..dac84a9b 100644
--- a/swaymsg/main.c
+++ b/swaymsg/main.c
@@ -111,7 +111,7 @@ int main(int argc, char **argv) {
uint32_t len = strlen(command);
char *resp = ipc_single_command(socketfd, type, command, &len);
if (!quiet) {
- printf("%s", resp);
+ printf("%s\n", resp);
}
close(socketfd);