aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryuvallangerontheroad <yuvallangerontheroad@gmail.com>2024-04-16 14:38:23 +0300
committerGitHub <noreply@github.com>2024-04-16 11:38:23 +0000
commitffbbbf347703a50c452d766a8bf7e4b12e7c1d72 (patch)
tree63b8504f3c5bfe33c6bf97ef935ce2ff19b8551d
parent051d3537e3e028c55572658cf154a82b11248d91 (diff)
downloadi3-ffbbbf347703a50c452d766a8bf7e4b12e7c1d72.tar.gz
i3-ffbbbf347703a50c452d766a8bf7e4b12e7c1d72.zip
Add a newline at the end of the version option output. (#5980)
If there is no newline character at the end of the version option's output, the next command line prompt is written left to the version, rather than under it.
-rw-r--r--i3-input/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/i3-input/main.c b/i3-input/main.c
index c61a58e6..612a1adf 100644
--- a/i3-input/main.c
+++ b/i3-input/main.c
@@ -407,7 +407,7 @@ int main(int argc, char *argv[]) {
socket_path = sstrdup(optarg);
break;
case 'v':
- printf("i3-input " I3_VERSION);
+ printf("i3-input " I3_VERSION "\n");
return EXIT_OK;
case 'p':
/* This option is deprecated, but will still work in i3 v4.1, 4.2 and 4.3 */